Communication system, information processing apparatus, server, and communication method

ABSTRACT

A first information processor ( 1 ) transmits a bubble packet to a port assigned after assignment of specified port from reference port in a second communication control unit ( 4 ), a server ( 6 ) detects the position of the bubble packet transmitting port in a first communication control unit ( 3 ) used in transmission of this bubble packet, and a second information processor ( 2 ) transmits a reply packet to the detected bubble port transmitting port. In this configuration, the invention presents a communication system capable of establishing more securely communication between plural information processors for communicating by way of communication control unit (NAT). In this configuration, the invention presents a communication system capable of establishing more securely communication between plural information processors for communicating by way of communication control unit (NAT).

This application is a continuation of U.S. patent application Ser. No.10/576,588, filed Apr. 21, 2006 (which is a U.S. National Phaseapplication of PCT International Application PCT/JP2004/016084, filedOct. 29, 2004), the contents of which are incorporated herein byreference.

TECHNICAL FIELD

The present invention relates to communication system or the like forestablishing communications between plural information processors.

BACKGROUND ART

First, classification of NAT (network address translation) is explained.The NAT includes the transmission port assigning rule and receptionfilter rule, and the NAT is classified according to their combination.The transmission port assigning rule is divided into a cone type inwhich, not depending on the packet destination (IP address, port), whenthe port of NAT local side (for example, LAN side) information processorand the IP address are the same, the port of the global side (forexample, the Internet or WAN side) assigned to the NAT is the same, anaddress sensitive type in which a new port is assigned for each packetdestination address, and a port sensitive in which a new port isassigned for each destination port of packet. The reception filter rulefor judging possibility of reception of packet from the local side tothe port transmitting the packet from the NAT local side is divided intoan address sensitive filter for receiving the packet only from theaddress transmitting the packet from the port, a port sensitive filterfor receiving the packet only from the port transmitting the packet fromthe port, and no filter having no filter. By combining the transmissionport assigning rule and reception filter rule, the NAT can be classifiedinto the following nine types (see FIG. 32).

Full cone NAT (F NAT): Transmission port assigning rule of cone type,and reception port filter rule of no filter.

Restricted cone NAT (R NAT): Transmission port assigning rule of conetype, and reception port filter rule of address sensitive filter.

Port restricted cone NAT (PR NAT): Transmission port assigning rule ofcone type, and reception port filter rule of port sensitive filter.

Symmetric (a) NAT (Sa NAT): Transmission port assigning rule of addresssensitive type, and reception port filter rule of no filter.

Address sensitive symmetric NAT (AS NAT or Sb NAT): Transmission portassigning rule of address sensitive type, and reception port filter ruleof address sensitive filter.

Symmetric (c) NAT (Sc NAT): Transmission port assigning rule of addresssensitive type, and reception port filter rule of address sensitive typefilter.

Symmetric (d) NAT (Sd NAT): Transmission port assigning rule of portsensitive type, and reception port filter rule of port sensitive typefilter.

Symmetric (e) NAT (Se NAT): Transmission port assigning rule of portsensitive type, and reception port filter rule of address sensitive typefilter.

Port sensitive symmetric NAT (PS NAT or Sf NAT): Transmission portassigning rule of port sensitive type, and reception port filter rule ofport sensitive filter.

In the NAT communication, it has been proposed to establishcommunications between PC1 and PC2 without using server as shown in FIG.33.

This technology is disclosed, for example, by D. Yon(Connection-Oriented Media Transport in SDP, Online, March 2003,[searched Sep. 29, 2003], Internet <URL:http://www.ietf.org/internet-drafts/draft-ietf-mmusic-sdp-comedia-05.txt>,hereinafter called non-patent reference 1), or Y. Takeda (Symmetric NATTraversal using STUN, Online, June 2003, [searched Mar. 25, 2004],Internet <URL:http://www.cs.cornell.edu/projects/stunt/draft-takeda-nat-traversal-00.txt>,hereinafter called non-patent reference 2). It is also reported by J.Rosenberg, J. Weinberger, C. Huitema, R. Mahy (STUN—Simple Traversal ofUser Datagram Protocol (UDP) Through Network Address Translators (NATs),Online, March 2003, Network Working Group Request for Comments: 3489,[searched Mar. 24, 2004], Internet <URL:http://www.ietf.org/rfc/rfc3489.txt>, hereinafter called non-patentreference 3).

In this case, probably, there is a combination of NATs unable toestablish communications. In FIG. 40, when communicating from PC1 ofinformation processor connected to NAT1 local side to PC2, let us callNAT1 as sending side NAT, and NAT2 as receiving side NAT. Hence,combination of NATs capable of establishing communications between PC1and PC2 is as shown in FIG. 34.

In FIG. 34, connection of *1 has been known hitherto, connection of *2is disclosed in non-patent reference 1, and connection of *3 isdisclosed in non-patent reference 2. Even in the combination of NATscapable of establishing communications, connection of *3 involves anuncertainty because communications cannot be established unless the portnumber differential of NAT is known and the position of the latest portof receiving side NAT is known.

In the combinations in FIG. 34, cases of using Sa NAT or Sc to Se NATare not included, but even in such NAT cases, it is desired to establishpeer-to-peer communication by way of NAT (for example, communicationbetween PC1 and PC2 in FIG. 33).

As prior conditions for establishing communications between informationprocessors, it is desired to detect securely the position of ports ofNAT passing through the bubble packet (the packet sent in order to leavecommunication record in the NAT) transmitted from one informationprocessor.

DISCLOSURE OF THE INVENTION

It is hence an object of the invention to present communication systemor the like capable of securely establishing communications betweenplural information processors for communicating by way of acommunication control unit for controlling the communications.

It is other object of the invention to present communication system orthe like capable of detecting the range of ports in the communicationcontrol unit allowing to pass the bubble packet transmitted from theinformation processor.

To achieve the object, the first information processor of the inventionis a first information processor communicating with a second informationprocessor by way of a first communication control unit for controllingthe communication of the first information processor and a secondcommunication control unit for controlling the communication of thesecond information processor, and it includes a reference port receiverfor receiving reference port information showing the position of thereference port as the port in the second communication control unit asthe reference of target of transmission of bubble packet sent forleaving the transmission record in the first communication unit, abubble packet transmitter for sending the bubble packet to the secondcommunication control unit by way of the first communication controlunit, a detection packet transmitter for sending a port detection packetfor detecting the position of bubble packet transmitting port as theport of the first communication control unit used in transmission of thebubble packet, and a reply packet receiver for receiving a reply packetsent from the second information processor by way of the secondcommunication control unit, to the bubble packet transmitting port.

In this configuration, transmission of bubble packet on the basis ofreference port information, and reception of reply packet sent to thebubble packet transmitting port detected by using the port detectionpacket can be achieved, and communication between the first informationprocessor and second information processor can be established.

The first information processor of the invention is also a firstinformation processor communicating with a second information processorby way of a first communication control unit for controlling thecommunication of the first information processor and a secondcommunication control unit for controlling the communication of thesecond information processor, in which the first communication controlunit receives a bubble packet for leaving transmission record in thesecond communication unit from the second information processor by wayof the second communication unit, and includes a reference portdetection packet transmitter for sending a reference port detectionpacket for detecting the position of reference port as the port in thefirst communication control unit as the reference of target oftransmission of the bubble packet, a bubble packet transmitting portreceiver for receiving bubble packet transmitting port informationshowing the position of bubble packet transmitting port as the port ofthe second communication control unit used in transmission of the bubblepacket from the second information processor, and a reply packettransmitter for sending a reply packet to the bubble packet transmittingport showing the bubble packet transmitting port information.

In this configuration, the reply packet can be sent to the bubble packettransmitting port leaving the transmission record by transmission ofbubble packet, communication between the first information processor andsecond information processor can be established.

The server of the invention is a server for establishing communicationbetween the a information processor and a second information processorby way of a first communication control unit for controllingcommunication of the first information processor and a secondcommunication control unit for controlling communication of the secondinformation processor, and it includes a reference port detector forreceiving a reference port detection packet sent from the secondinformation processor by way of the second communication control unit,in order to detect the position of the reference port as the port in thesecond communication control unit as the reference of target oftransmission of bubble packet sent from the first information processorfor leaving transmission record in the first communication control unit,and detecting the position of the reference port on the basis of thereference port detection packet, a reference port transmitter forsending the reference port information showing the position of thereference port detected by the reference port detector to the firstinformation processor, a bubble packet transmitting port detector forreceiving the port detection packet sent from the first informationprocessor, in order to detect the position of the bubble packettransmitting port as the port in the first communication control unitused in transmission of bubble packet from the first informationprocessor to the second communication control unit, and detecting theposition of the bubble packet transmitting port on the basis of the portdetection packet, and a bubble packet transmitting port transmitter forsending bubble packet transmitting port information showing the positionof the bubble packet transmitting port detected by the bubble packettransmitting port detector to the second information processor.

In this configuration, the position of reference port in the secondcommunication control unit can be detected and noticed to the firstinformation processor, and the position of bubble packet transmittingport can be detected and noticed to the second information processor.

The server of the invention is also a server for establishingcommunication between the first information processor and secondinformation processor by way of the first communication control unit forcontrolling communication of the first information processor and thesecond communication control unit for controlling communication of thesecond information processor, and it includes a reference port detectorfor receiving a reference port detection packet sent from the secondinformation processor by way of the second communication control unit,in order to detect the position of the reference port as the port in thesecond communication control unit as the reference of target oftransmission of bubble packet sent from the first information processorfor leaving transmission record in the first communication control unit,and detecting the position of the reference port on the basis of thereference port detection packet, a reference port transmitter forsending the reference port information showing the position of thereference port detected by the reference port detector to the firstinformation processor, a detector for detecting port number forreceiving a port detection packet sent from the first informationprocessor, in order to detect the position of the bubble packettransmitting port as the port in the first communication control unitused in transmission of bubble packet from the first informationprocessor to the second communication control unit, and detecting theposition of the port in the first communication control unit allowing topass the port detection packet on the basis of the port detectionpacket, and a port number information transmitter for port differentialdetection for sending the port differential information showing theposition of the port detected by the detector for detecting port numberto the first information processor.

In this configuration, the position of reference port in the secondcommunication control unit can be detected and noticed to the firstinformation processor, and the position of the first communicationcontrol unit allowing to pass the port detection packet can be detectedand noticed to the first information processor.

The communication system of the invention is a communication systemcomprising an information processor, a communication control unit forcontrolling the communication of the information processor, and aserver, in which the information processor includes a bubble packettransmitter for sending a bubble packet for leaving transmission recordin the communication control unit by way of the communication controlunit, and a detection packet transmitter for sending a port detectionpacket used in detection of position of bubble packet transmitting portas the port in the communication control used in transmission of bubblepacket, to the server, before and after transmission of bubble packet bythe bubble packet transmitter.

In this configuration, by the port detection packet sent from theinformation processor, the position of the bubble packet transmittingport can be detected. It can be detected either in the server or in theinformation processor, or in other device. Using the position of thedetected bubble packet transmitting port, the packet is sent to thisbubble packet transmitting port from other device, and hence this packetis received in the information processor.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of configuration of communication system inpreferred embodiment 1 of the invention.

FIG. 2 is a block diagram of configuration of first informationprocessor in the preferred embodiment.

FIG. 3 is a block diagram of configuration of second informationprocessor in the preferred embodiment.

FIG. 4 is a block diagram of configuration of server in the preferredembodiment.

FIG. 5 is a flowchart of operation of communication system in thepreferred embodiment.

FIG. 6 is an explanatory diagram of process of establishment ofcommunication in the preferred embodiment.

FIG. 7 is an explanatory diagram of detection of port numberdifferential in the preferred embodiment.

FIG. 8 is an explanatory diagram of process of establishment ofcommunication in the preferred embodiment.

FIG. 9 is an explanatory diagram of process of establishment ofcommunication in the preferred embodiment.

FIG. 10 is an explanatory diagram of specific example in the preferredembodiment.

FIG. 11 is an explanatory diagram of specific example in the preferredembodiment.

FIG. 12 is an explanatory diagram of specific example in the preferredembodiment.

FIG. 13 is an explanatory diagram of specific example in the preferredembodiment.

FIG. 14 is an explanatory diagram of specific example in the preferredembodiment.

FIG. 15 is an explanatory diagram of specific example in the preferredembodiment.

FIG. 16 is an explanatory diagram of specific example in the preferredembodiment.

FIG. 17 is a diagram of combination of characteristics of communicationcontrol units that can be connected in the preferred embodiment.

FIG. 18 is a block diagram of configuration of first informationprocessor in preferred embodiment 2 of the invention.

FIG. 19 is a block diagram of configuration of second informationprocessor in the preferred embodiment.

FIG. 20 is a block diagram of configuration of server in the preferredembodiment.

FIG. 21 is an explanatory diagram of process of establishment ofcommunication in the preferred embodiment.

FIG. 22 is an explanatory diagram of process of establishment ofcommunication in the preferred embodiment.

FIG. 23 is an explanatory diagram of process of establishment ofcommunication in the preferred embodiment.

FIG. 24 is a block diagram of configuration of communication system inpreferred embodiment 3 of the invention.

FIG. 25 is a block diagram of configuration of communication system inother example of the preferred embodiment.

FIG. 26 is a block diagram of configuration of communication system inpreferred embodiment 4 of the invention.

FIG. 27 is a block diagram of configuration of first informationprocessor in the preferred embodiment.

FIG. 28 is a block diagram of configuration of server in the preferredembodiment.

FIG. 29 is an explanatory diagram of process of establishment ofcommunication in the preferred embodiment.

FIG. 30 is an explanatory diagram of specific example in the preferredembodiment.

FIG. 31 is an explanatory diagram of specific example in the preferredembodiment.

FIG. 32 is an explanatory diagram of characteristics (types) of NAT.

FIG. 33 is a diagram showing an example of communication system.

FIG. 34 is a diagram showing combinations of conventional NATs that canbe connected.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred Embodiment 1

A communication system in preferred embodiment 1 of the invention isdescribed while referring to the accompanying drawings.

FIG. 1 is a block diagram of configuration of communication system inthe preferred embodiment. In FIG. 1, the communication system in thepreferred embodiment comprises first information processor 1, secondinformation processor 2, first communication control unit 3, secondcommunication control unit 4, and server 6. First communication controlunit 3, second communication control unit 4, and server 6 are connectedby way of wired or wireless communication network 5. Communicationnetwork 5 is, for example, the Internet.

In FIG. 1, first information processor 1 and second informationprocessor 2 are connected respectively to first communication controlunit 3 and second communication control unit 4, but other devices may bealso connected to first communication control unit 3 and secondcommunication control unit 4.

In the preferred embodiment, first information processor 1 is supposedto operate as transmission side information processor, and secondinformation processor 2 as reception side information processor. Herein,the transmission side information processor refers to the siderequesting communication (connection) when establishing communicationbetween first information processor 1 and second information processor 2(in other words, the bubble packet transmitting side). On the otherhand, the reception side information processor refers to the informationprocessor at the opposite side, that is, the side receiving request ofcommunication (in other words, the reply packet transmitting side to thebubble packet). The bubble packet and reply packet are described later.

FIG. 2 is a block diagram of configuration of first informationprocessor 1. In FIG. 2, first information processor 1 comprisescommunication unit 11, reference port receiver 12, bubble packettransmitter 13, detection packet transmitter 14, port numberdifferential detection packet transmitter 15, re-send instructionreceiver 16, reply packet receiver 17, re-reply packet transmitter 18,and port number differential receiver 19.

Communication unit 11 communicates between bubble packet transmitter 13or other internal constituent elements in first information processor 1and first communication control unit 3.

Reference port receiver 12 receives the reference port informationshowing the position of reference port. The reference port is aspecified port in second communication control unit 4, and is the portas reference of the port of target of bubble packet transmission (targetport for transmitting bubble packet). To receive the reference portinformation is to receive, for example, reference port information. Thebubble packet is described below.

Bubble packet transmitter 13 transmits a bubble packet to secondcommunication control unit 4 by way of communication unit 11 and firstcommunication control unit 3. The bubble packet is transmitted on thebasis of the reference port information received in the reference portreceiver 12. More specifically, in second communication control unit 4,the bubble packet is transmitted to the target port for transmittingbubble packet which is the port assigned after assignment of specifiedport from the reference port in second communication control unit 4. Thetarget port for transmitting bubble packet is, for example, a port ofwhich port interval with the reference port is M times of port numberdifferential (M being an integer of 1 or more) in second communicationcontrol unit 4. For example, when ports are assigned so as to increasethe port numbers, the target port for transmitting bubble packet is agreater port number than the reference port. The port numberdifferential in second communication control unit 4 is indicated by portdifferential information received in port number differential receiver19 described later. The bubble packet is a packet intended to leavetransmission record in first communication unit 3 in order to establishcommunication between first information processor 1 and secondinformation processor 2. Herein, to establish communication is to startpeer-to-peer communication between first information processor 1 andsecond information processor 2 without resort to server 6. To leavetransmission record is to assign a port (open a port) for receiving areply packet described below in first communication control unit 3. Thebubble packet may contain certain information or no information. Thebubble packet is transmitted by connection less protocol, such as UDP(user datagram protocol).

Detection packet transmitter 14 sends a port detection packet to server6. This port detection packet is used for detecting the position ofbubble packet transmitting port. The bubble packet transmitting port isa port of first communication control unit 3 used in transmission ofbubble packet. This port detection packet is transmitted before thebubble packet is transmitted and/or after the bubble packet istransmitted. In this preferred embodiment, the port detection packet istransmitted before and after transmission of bubble packet. The portdetection packet is transmitted by UDP or TCP (transmission controlprotocol). The port detection packet may contain certain information orno information.

Port number differential detection packet transmitter 15 sends a portnumber differential detection packet used in detection of port numberdifferential in first communication control unit 3 to server 3 by way offirst communication control unit 3. The port number differential is theinterval of ports used (assigned) continuously. For example, when theport number differential is 1, the port used next to port number 20000is a port of port number 20001. Or, when the port number differential is2, the port used next to port number 20000 is a port of port number20002. The port number differential detection packet may contain certaininformation or no information.

Re-send instruction receiver 16 receives a re-send instruction. There-send instruction is an instruction for re-sending bubble packet andport detection packet. The re-send instruction is received, for example,by reception of communication. When the re-send instruction receiver 16receives the re-send instruction, the detection packet transmitter 14and bubble packet transmitter 13 transmit the port detection packet andbubble packet again.

Reply packet receiver 17 receives the reply packet sent from secondinformation processor 2 by way of second communication control unit 4.The reply packet is transmitted to the bubble packet transmitting port.The reply packet is received, for example, by reception ofcommunication. The reply packet may contain certain information or noinformation.

Re-reply packet transmitter 18 sends a re-reply packet when reply packetis received in reply packet receiver 17. The re-reply packet is sent tothe port of second communication control unit 4 used in transmission ofreply packet. The re-reply packet is transmitted, for example, by UDP.The re-reply packet may contain certain information or no information.

Port number differential receiver 19 receives the port differentialinformation sent from server 6. The port differential information is theinformation showing the port number differential in second communicationcontrol unit 4.

FIG. 3 is a block diagram of configuration of second informationprocessor 2. In FIG. 3, second information processor 2 comprisescommunication unit 21, reference port detection packet transmitter 22,bubble packet transmitting port receiver 23, reply packet transmitter24, re-reply packet receiver 25, and port number differential detectionpacket transmitter 26.

Communication unit 21, like communication unit 11, communicates betweenreference port detection packet transmitter 22 or other internalconstituent elements in second information processor 2 and secondcommunication control unit 4.

Reference port detection packet transmitter 22 transmits the referenceport detection packet for detecting the position of reference port toserver 6. This reference port is the latest port (the most newlyassigned port) at the moment of transmission of reference port detectionport, out of the ports assigned in second communication control unit 4.That is, by sending this reference port detection packet, the positionof the latest port assigned in second communication control unit 4 canbe detected by server 6. The reference port detection packet istransmitted by UDP or TCP. The reference port detection packet maycontain certain information or no information.

Bubble packet transmitting port receiver 23 receives bubble packettransmitting port information. The bubble packet transmitting portinformation is the information showing the position of bubble packettransmitting port, and, for example, the position of bubble packettransmitting port is indicated by port number of bubble packettransmitting port. The bubble packet transmitting port is received, forexample, by reception of communication.

Reply packet transmitter 24 transmits reply packet to bubble packettransmitting port in first communication control unit 3. The position ofthis bubble packet transmitting port is indicated by the bubble packettransmitting port information received in bubble packet transmittingport receiver 23. The reply packet is sent by using different number N(N being an integer of 2 or more) of ports of second communicationcontrol unit 4. The N number of ports are ports newly assigned in secondcommunication control unit 4 at the time of transmission of replypacket. The value of N is the number of ports (α) that can be assignedfrom the reference port to other port transmitting the bubble packet(target port for transmitting bubble packet) in second communicationcontrol unit 4. That is, at the time of transmission of reply packet,unless the target port for transmitting bubble packet has been alreadyused in other device, by transmitting α reply packets, the reply packetcan be transmitted by using the target port for transmitting bubblepacket. The reply packet is transmitted, for example, by UDP. The replypacket may contain certain information or no information.

Re-reply packet receiver 25 receives the re-reply packet sent from firstinformation processor 1. This re-reply packet is sent to the port ofsecond communication control unit 4 used in transmission of replypacket, and is received in second information processor 2. Depending onthe type of NAT used in first communication control unit 3 and secondcommunication control unit 4, when first information processor 1receives the reply packet, communication between first informationprocessor 1 and second information processor 2 may be established, oronly when re-reply packet is received in second information processor 2,communication between first information processor 1 and secondinformation processor 2 may be established.

Port number differential detection packet transmitter 26 transmits theport number differential detection packet for detecting the port numberdifferential in second communication control unit 4 to server 6 by wayof second communication control unit 4. The port number differentialdetection packet may contain certain information or no information.

First communication control unit 3 is to control communication of firstinformation processor 1, and controls communication of local side (firstinformation processor 1 side) and global side (communication network 5side), by using the so-called NAT. Types of NAT include F NAT, R NAT, PRNAT, Sa NAT, AS NAT, Sc NAT, Sd NAT, Se NAT, and PS NAT.

Second communication control unit 4 is to control communication ofsecond information processor 2, by using the NAT, same as firstcommunication control unit 3. In the communication system of thepreferred embodiment, as described below, in all combinations of NATsused in first communication control unit 3 and second communicationcontrol unit 4, communication between first information processor 1 andsecond information processor 2 can be established. In firstcommunication control unit 3 and second communication control unit 4,ports are assigned so that the port numbers may increase or decrease inevery specified port number differential. In the following explanation,the ports are assigned so that the port numbers may increase.

FIG. 4 is a block diagram of configuration of server 6. In FIG. 4,server 6 comprises communication unit 61, reference port detector 62,reference port transmitter 63, port number differential detector 64,bubble packet transmitting port detector 65, re-send instructiontransmitter 66, bubble packet transmitting port transmitter 67, and portnumber differential transmitter 68.

Communication unit 61 communicates between reference port detector 62and other parts of server 6, and first information processor 1 andsecond information processor 2.

Reference port detector 62 receives a reference port detection packet,and detects the position of reference port on the basis of the referenceport detection packet. The reference port detection packet is received,for example, by reception of communication. The reference port detectionpacket is sent from second information processor 2 by way of secondcommunication control unit 4.

Reference port transmitter 63 transmits reference port information tofirst information processor 1. The reference port information shows theposition of reference port by, for example, port number of referenceport.

Port number differential detector 64 detects the port numberdifferential in first communication control unit 3. This is detected byreceiving the port number differential detection packet sent from firstinformation processor 1. Port number differential detector 64 alsodetects the port number differential in second communication controlunit 4. This is detected by receiving the port number differentialdetection packet sent from second information processor 2. Of course, afirst port detector for detecting the port number differential in firstcommunication control unit 3, and a second port detector for detectingthe port number differential in second communication control unit 4 maybe provided. They are realized by one only, that is, port numberdifferential detector 64. That is, of port number differential detector64, the portion for detecting the port number differential in firstcommunication control unit 3 is the first port detector and the portionfor detecting the port number differential in second communicationcontrol unit 4 is the second port detector.

Bubble packet transmitting port detector 65 detects the position ofbubble packet transmitting port in first communication control unit 3.This is detected by receiving the port detection packet sent from firstinformation processor 1 by way of first communication control unit 3.The port detection packet is received, for example, by reception ofcommunication. More specifically, bubble packet transmitting portdetector 65 receives port detection packets transmitted before and aftertransmission of bubble packet. It is judged if two ports in firstcommunication control unit 3 used in transmission of port detectionpackets, and the bubble packet transmitting port are consecutive or not.As a result of judging, if these ports are consecutive, the position ofthe ports enclosed by two ports in first communication control unit 3used in transmission of port detection packets is detected as theposition of the bubble packet transmitting port. Being consecutiverefers to a state of arrangement of these ports and bubble packettransmitting port at an interval of port number differential of firstcommunication control unit 3. Meanwhile, it may be judged to beconsecutive when the interval of two ports of first communicationcontrol unit 3 used in transmission of port detection packets is 2 timesof port number differential of first communication control unit 3detected by port number differential detector 64. On the other hand, iftwo ports in first communication control unit 3 used in transmission ofport detection packets and the bubble packet transmitting port are notconsecutive, the bubble packet transmitting port cannot be detected.

Re-send instruction transmitter 66 transmits a re-send instruction tofirst information processor 1 if the position of bubble packettransmitting port cannot be detected by bubble packet transmitting portdetector 65. The re-send instruction is an instruction for transmittingbubble packet and port detection packet again. That is, bubble packettransmitting port detector 65 detects the position of bubble packettransmitting port by using the port detection packet sent again bytransmission of re-send instruction. The re-send instruction istransmitted repeated until the position of bubble packet transmittingport is detected by bubble packet transmitting port detector 65, or by aspecified limit (for example, 10 times), or for a specified duration(for example, 30 seconds).

Bubble packet transmitting port transmitter 67 sends bubble packettransmitting port information to second information processor 2. Theposition of bubble packet transmitting port indicated by bubble packettransmitting port information is the position detected by bubble packettransmitting port detector 65.

Port number differential transmitter 68 sends port differentialinformation to first information processor 1. The port differentialinformation is the information showing the port number differential insecond communication control unit 4 detected by port differential numberdetector 64.

The operation of communication system of the preferred embodiment isexplained. Referring now to the flowchart in FIG. 5, the communicationmethod until start of communication between first information processor1 and second information processor 2 is explained.

(Step S101) Reference port detection packet is sent from secondinformation processor 2 to server 6, and the position of reference portis detected on the basis of the reference port detection packet.Reference port information showing the position of reference port issent to first information processor 1 from server 6. Detail of step S101is explained below.

(Step S102) First information processor 1 sends bubble packet to secondcommunication control unit 4 on the basis of reference port information.Port detection packet used in detection of bubble packet transmittingport is sent to server 6. Detail of step S102 is explained below.

(Step S103) Bubble packet transmitting port detector 65 of server 6judges if the position of bubble packet transmitting port can bedetected or not on the basis of the port detection packet received atstep S102. If detected, the process goes to step S104, and if notdetected, re-send instruction transmitter 66 transmits a re-sendinstruction to first information processor 1, and the process returns tostep S102. The re-send instruction is received in re-send instructionreceiver 16 of first information processor 1.

(Step S104) Server 6 detects the position of bubble packet transmittingport, and sends the bubble packet transmitting port information showingits position to second information processor 2. Second informationprocessor 2 transmits sends a reply packet to first communicationcontrol unit 3 on the basis of the bubble packet transmitting portinformation. Detail of step S104 is explained below.

(Step S105) Reply packet receiver 17 of first information processor 1judges if reply packet is received or not. When reply packet isreceived, the process goes to step S106, or if not received, the processreturns to step S101, and the process from step S101 is repeated.

(Step S106) Re-reply packet transmitter 18 of first informationprocessor 1 sends re-reply packet to second communication control unit4.

(Step S107) Re-reply packet receiver 25 of second information processor2 judges if re-reply packet is received or not. When re-reply packet isreceived, by sending the packet to either port of first communicationcontrol unit 3 used in transmission of re-reply packet, communication isestablished between first information processor 1 and second informationprocessor 2 without resort to server 6, and the process of establishmentof communication is terminated. On the other hand, if re-reply packet isnot received, communication is not established, the process returns tostep S101, and the process from step S101 is repeated.

The process at step S101 in flowchart in FIG. 5 is explained byreferring to FIG. 6. FIG. 6 is an explanatory diagram of process ofexchange of information among transmission side, server, and receptionside. The transmission side is the concept including first informationprocessor 1 and first communication control unit 3, and the receptionside is the concept including second information processor 2 and secondcommunication control unit 4.

(Step S201) Server 6 sends a transmission request of reference portdetection packet to second information processor 2.

(Step S202) Reference port detection packet transmitter 22 of secondinformation processor 2 receives transmission request of reference portdetection packet sent from server 6, and transmits reference portdetection packet to server 6. Reference port detection packettransmitter 22 transmits the reference port detection packet by usingthe latest port assigned in second communication control unit 4. Forexample, the reference port detection packet is transmitted by using thenewest assigned port in second information processor 2.

(Step S203) Reference port detector 62 of server 6 receives thereference port detection packet sent from second information processor2. Reference port detector 62 detects the position of reference port byreferring to the port number of reference port contained in the headerof reference port detection packet.

(Step S204) Reference port transmitter 63 transmits the reference portinformation as the information showing the position of reference portdetected in reference port detector 62, to first information processor1. The reference port information is received in reference port receiver12 in first information processor 1.

(Step S205) Server 6 sends the address information showing the IPaddress of second communication control unit 4 to first informationprocessor 1. The address information is received in communication unit11, and is transferred to bubble packet transmitter 13.

(Step S206) Port number differential detection packet transmitter 15 offirst information processor 1 sends a port number differential detectionpacket to server 6. In this transmission, it is arranged so that pluralport number differential detection packets may pass through differentports in first communication control unit 3. The port numberdifferential detection packet is transmitted, for example, from pluralports of different port numbers in first information processor 1. FIG. 7is an explanatory diagram of transmission of port number differentialdetection packet. Port number differential detection packet transmitter15 transmits port number differential detection packets to port P200 ofserver 6, sequentially from different ports P205 to P208. In firstcommunication control unit 3, these packets pass through different portsP201 to P204, individually. In FIG. 7, it is supposed that packets aretransmitted in the sequence of ports P205 to P208. It is also supposedthat first information processor 1 has not used ports P205 to P208 incommunication with server 6 before transmission of port numberdifferential detection packet.

(Step S207) Port number differential detector 64 of server 6 receivesthe port number differential detection packet sent from firstinformation processor 1, and detects the port number differential on thebasis of this port number differential detection packet. Detectionmethod of port number differential is explained. Port numberdifferential detector 64 receives port number differential detectionpacket, and detects ports P201 to P204 of first communication controlunit 3 used in transmission of each port number differential detectionpacket. For example, if the port interval of port P202 and port P201 is12, the port interval of port P203 and port P202 is 6, and the portinterval of port P204 and port P203 is 18, the smallest port interval of6 is detected as port number differential. Or the greatest commonmeasure of port intervals may be detected as port number differential.For example, in the case the port interval of port P202 and port P201 is12, the port interval of port P203 and port P202 is 6, and the portinterval of port P204 and port P203 is 9, the greatest common measure of3 may be detected as port number differential. Detecting method of portnumber differential is not limited to these examples, but the portnumber differential may be detected by any other method. The number ofport number differential detection packets used in transmission ofdetection of port number differential is not limited to 4, but may befreely changed within a range of detecting the port number differential.

(Step S208) Port number differential detection packet transmitter 26 ofsecond information processor 2 sends a port number differentialdetection packet to server 6. Herein, the port number differentialdetection packet is transmitted same as at step S206.

(Step S209) Port number differential detector 64 of server 6 receivesthe port number differential detection packet sent from secondinformation processor 2, and detects the port number differential insecond communication control unit 4 on the basis of the port numberdifferential detection packet. Detecting method of port numberdifferential is same as at step S207, and its explanation is omitted. Indetection process of port number differential at this step S209, ascompared with detection of port number differential at step S207, highstrictness is not demanded. That is, a multiple of actual port numberdifferential in second communication control unit 4 may be detected asport number differential. The port number differential detected at thisstep S209 is used for determining the port remote from the referenceport by the port interval equivalent to a multiple of port numberdifferential detected at this step S209 (in the port number increasingdirection if the port numbers are assigned in the ascending direction)as the target port for transmitting bubble packet. As a result, if theport number differential detected at this step is a multiple of actualport number differential, the target port number of transmitting bubblepacket determined in this manner is the port assigned after the portsare assigned certain times from the reference port, and hence this portcan be used as the target port number of transmitting bubble packet.Therefore, in detection of port number differential at step S208 orS209, the port number differential may be detected by transmission of asmall number of port number differential detection packets.

(Step S210) Port number differential transmitter 68 of server 6 sendsthe port differential information showing the port number differentialdetected at step S209 to first information processor 1.

In FIG. 6, the reception side address may be transmitted (step S205)anytime, for example, before transmission of reference port information(step S204) or transmission request of reference port detection packet(step S201). The process from transmission of port number differentialdetection packet (step S208) to transmission of port number differentialinformation (step S210) may be also conducted before the process oftransmission of port number differential detection packet (step S206).Thus, there is a certain freedom in the sequence of process in FIG. 6.

The process at step S102 in flowchart in FIG. 5 is explained byreferring to FIG. 8. FIG. 8 is an explanatory diagram of process ofexchange of information among transmission side, server, and receptionside.

(Step S301) Detection packet transmitter 14 of first informationprocessor 1 sends the port detection packet to server 6 by way of firstcommunication control unit 3. In this transmission, the packet istransmitted so that the port detection packet may pass the latestassigned port in first communication control unit 3. This is intended todetect properly the position of the bubble packet transmitting port. Forexample, detection packet transmitter 14 sends the port detection packetby using a port of first information processor 1 not used so far incommunication between first information processor 1 and server 6. Thustransmitted port detection packet is received in bubble packettransmitting port detector 65 in server 6. This bubble packettransmitting detector 65 refers to the header of port detection packet,and detects the position of the port of first communication control unit3 used in transmission of port detection packet.

(Step S302) Bubble packet transmitter 13 of first information processor1 sends the bubble packet to second communication control unit 4. Thisbubble packet is transmitted from the reference port to the portassigned after port assignment of specified times (α) in secondcommunication control unit 4.

(Step S303) Detection packet transmitter 14 of first informationprocessor 1 sends the port detection packet to server 6 by way of firstcommunication control unit 3. In this transmission, the packet istransmitted so that the port detection packet may pass the latestassigned port in first communication control unit 3. For example,detection packet transmitter 14 sends the port detection packet by usinga port of first information processor 1 not used so far in communicationbetween first information processor 1 and server 6, transmission of portdetection packet at step S301, or transmission of bubble packet. Thustransmitted port detection packet is received in bubble packettransmitting port detector 65 in server 6. This bubble packettransmitting detector 65 refers to the header of port detection packet,and detects the position of the port of first communication control unit3 used in transmission of port detection packet.

(Step S304) Bubble packet transmitting port detector 65 in server 6judges the continuity of the port position of first communicationcontrol unit 3 used in transmission of two port detection packets andbubble packet transmitting port at steps S301, S303.

The process at step S104 in flowchart in FIG. 5 is explained byreferring to FIG. 9. FIG. 9 is an explanatory diagram of process ofexchange of information among transmission side, server, and receptionside.

(Step S401) Bubble packet transmitting port detector 65 of server 6detects the position of bubble packet transmitting port.

(Step S402) Bubble packet transmitting port transmitter 67 of server 6sends bubble packet transmitting port information to second informationprocessor 2. The bubble packet transmitting port information is receivedin bubble packet transmitting port receiver 23 of second informationprocessor 2.

(Step S403) Server 6 sends the address information showing the IPaddress of first communication control unit 3 to second informationprocessor 2. This address information is received in communication unit21, and is transferred to reply packet transmitter 24.

(Step S404) Reply packet transmitter 24 of second information processor2 sends a reply packet to first communication control unit 3 specifiedby the address information received at step S403. This reply packet issent to the bubble packet transmitting port indicated by the bubblepacket transmitting port information received in bubble packettransmitting port receiver 23.

In FIG. 9, the sequence of transmission of bubble packet transmittingport information (step S402) and transmission of transmission sideaddress (step S403) is not specified.

Operation of communication system of the preferred embodiment isexplained by referring to specific examples. In the specific examples,IP addresses of first communication unit 3, second communication unit 4,and server 6 (as for first and second communication control units 3 and4, communication network 5 side addresses) are as follows.

First communication control unit 3: 202.132.10.6

Second communication control unit 4: 131.206.10.240

Server 6: 155.32.10.10

It is supposed in the specific examples as follows: that is, in example1, PS NAT is used in first communication control unit 3 and secondcommunication control unit 4. In example 2, Sd NAT is used in firstcommunication control unit 3, and PS NAT in second communication controlunit 4. In example 3, Sd NAT is used in first communication control unit3, and AS NAT in second communication control unit 4.

EXAMPLE 1

FIG. 10 and FIG. 13 show example 1. First, in example 1, connection isrequested from first information processor 1. In FIG. 10, firstinformation processor 1 has prior knowledge about IP address of server 6(155.32.10.10), and sends device ID of first information processor 1(1234567890123456) to server 6. This device ID is, for example, MACaddress, EU164 base address, or other GUID (global unique ID). Thedevice ID is transmitted to port P3 of server 6 by way of port P2assigned in first communication control unit 3 from port P1 of firstinformation processor 1. By this transmission, server 6 acquiresknowledge of the device ID of first information processor 1, IP addressof first communication control unit 3 (202.132.10.6) and port number(10034) of port P2 in first communication control unit 3. These items ofinformation are held in server 6.

Next, first information processor 1 sends the device ID(9876543210123456) of second information processor 2 for requestingconnection to server 6, and requests connection to second informationprocessor 2. As a result, server 6 receives this connection request, andjudges if second information processor 2 has already accessed server 6or not. Access by second information processor 2 is also achieved bysending device ID of second information processor 2 same as in the caseof first information processor 1. Therefore, if second informationprocessor 2 has already accessed server 6, server 6 has already knownand held the device ID (9876543210123456) of second informationprocessor 2, IP address (131.206.10.240) of second communication controlunit 4, and port number (23495) of port P5 of second communicationcontrol unit 4 used in transmission and reception of information betweensecond information processor 2 and server 6. If second informationprocessor 2 has already accessed server 6, process of receptionreference port information (step S101) is started. On the other hand, ifsecond information processor 2 has not accessed server 6, connectionrequest from first information processor 1 is an error, andcommunication between first information processor 1 and secondinformation processor 2 is not established.

In the process about reception of reference port information, server 6requests transmission of reference port detection packet to secondinformation processor 2, by way of port P5 of second communicationcontrol unit 4 (step S201). In consequence, the transmission request isreceived in reference port detection packet transmitter 22 of secondinformation processor 2. Reference port detection packet transmitter 22sends a reference port detection packet by way of second communicationcontrol unit 4 from port P8 newly assigned, different from port P6 usedso far in communication with server 6, in second information processor 2(step S202). In this transmission of reference port detection packet, insecond communication control unit 4, port P7 (port number 23500) isnewly assigned. This reference port detection packet is received inreference port detector 62 of server 6. As the position of referenceport P7, port number 23500 is detected (step S203).

Reference port transmitter 63 receives port number 23500 from referenceport detector 62, and composes reference port information including portnumber 23500 of reference port P7, and transmits the reference portinformation to first information processor 1 (step 5204). This istransmitted by way of port P2 of first communication control unit 3.Reference port receiver 12 of first information processor 1 receives thereference port information by way of communication unit 11, andtransfers port number 23500 of reference port P7 included in thereference port information to bubble packet transmitter 13.

Server 6 transmits address information showing IP address(131.206.10.240) of second communication control unit 4 to firstinformation processor 1 (step S205). This address information isreceived in communication unit 11, and is transferred to bubble packettransmitter 13. Thus, bubble packet transmitter 13 has knowledge of IPaddress (131.206.10.240) of second communication control unit 4.

Port number differential detection packet transmitter 15, whencommunication unit 11 detects reception of IP address, transmits pluralport number differential detection packets as shown in FIG. 7 (stepS206). In FIG. 10, transmission of port number differential detectionpacket is not shown. Port number differential detection packets arereceived in port number differential detector 64 in server 6, and theport number differential is detected. In this case, it is supposed thatport number differential of 1 is detected (step S207). The detected portnumber differential is transferred to bubble packet transmitting portdetector 65.

Port number differential detection packet transmitter 26, by instructionfrom port number differential detector 64 in server 6, transmits pluralport number differential detection packets (step S208). In FIG. 10,transmission of port number differential detection packet is not shown.Port number differential detection packets are received in port numberdifferential detector 64 in server 6, and the port number differentialis detected. In this case, it is supposed that port number differentialof 1 is detected (step S209). Port number differential transmitter 68transmits the detected port number differential of 1 to firstinformation processor 1 (step S210). The port number differential of 1is received in port number differential receiver 19, and is transferredto bubble packet transmitter 13.

Bubble packet transmitter 13, before sending bubble packet, transfers aninstruction of transmission of port detection packet to detection packettransmitter 14. As a result, detection packet transmitter 14 transmits aport detection packet to port P15 of server 6, by using port P9 not usedso far in communication with server 6 and newly assigned (a port newlyassigned in first information processor 1) (step S301). Port P15 issupposed to be instructed from server 6. This port detection packet istransmitted by using newly assigned port P12 (port number 10040) infirst communication control unit 3. Bubble packet transmitting portdetector 65 of server 6 receives this port detection packet, and detectsport number 10040 of port P12 of first communication control unit 3.Bubble packet transmitting port detector 65 holds port number 10040 ofport P12.

Detection packet transmitter 14, after transmission of port detectionpacket, informs bubble packet transmitter 13 of notice of transmissionof port detection packet. Bubble packet transmitter 13, in consequence,transmits bubble packet to second information control unit 4 of IPaddress 131.206.10.240 by using port P10, a newly assigned port not usedso far in communication with server 6 (step S302). In this transmissionof bubble packet, it is supposed that bubble packets are transmittedfrom port number 23500 of reference port P7 received from reference portreceiver 12 to port P17 of port number 23550 apart by a specifiedmultiple of port number differential of 1 received in port numberdifferential receiver 19, that is, 50 times (or α=50). Bubble packetsare supposed to be transmitted by using port P13 (port number 10041) offirst communication control unit 3. Bubble packet transmitter 13, aftertransmission of bubble packets, sends the notice of α=50 to server 6. Inresponse, server 6 sends the same notice to second information processor2. The notice of α=50 is received in reply packet transmitter 24.

Bubble packet transmitter 13, after transmission of bubble packet,transfers an instruction of notice of transmission of port detectionpacket to detection packet transmitter 14. Detection packet transmitter14 transmits the port detection packet to port 16 of server 6, by usingnewly assigned port P11 not used so far in communication with server 6(step S303). This port detection packet is transmitted by using port P14(port number 10042) newly assigned in first,communication control unit3. Thus, the bubble packet and port detection packet are transmitted byusing different ports in first communication control unit 3.

Bubble packet transmitting port detector 65 of server 6 receives thisport detection packet, and detects port number 10042 of port P14 offirst communication unit 3. Bubble packet transmitting port detector 65compares port number 10040 of held port P12 and port number 10042 ofdetected port P14, and the difference is 2, which is 2 times of the portnumber differential of 1 detected at step S207, and it is judged thatport P12, P14 in first communication control unit 3 used in transmissionof two port detection packets and bubble packet transmitting port P13are consecutive (step S304). As a result, it is judged that the positionof the bubble packet transmitting port can be detected (step S103), andbubble packet transmitting port detector 65 detects the middle portnumber 10041 of port P12 and port P14 as the position of bubble packettransmitting port (step S401).

Bubble packet transmitting port transmitter 67 composes bubble packettransmitting port information including port number 10041 of bubblepacket transmitting port number P13 detected by bubble packettransmitting port detector 65, and transmits this bubble packettransmitting port information to second information processor 2 by wayof port P5 of second communication control unit 4 (step S402). Thebubble packet transmitting port information is received in bubble packettransmitting port receiver 23 of second information processor 2. Portnumber 10041 of bubble packet transmitting port P13 included in thebubble packet transmitting port information is transferred to replypacket transmitter 24.

Server 6 transmits address information showing IP address (202.132.10.6)of first communication control unit 3 to second information processor 2(step S403). This address information is received in communication unit21, and is transferred to reply packet transmitter 24. Thus, replypacket transmitter 24 acknowledges IP address 202.132.10.6 of firstcommunication control unit 3.

Reply packet transmitter 24 transmits 50 reply packets to bubble packettransmitting port P13 of port number 10041 in first communicationcontrol unit 3 of IP address 202.132.10.6 (step S404). This number 50corresponds to the value of α received in reply packet transmitter 24from server 6. Reply packet transmitter 24 transmits 50 reply packets byusing 50 ports P20 to P21 newly assigned in second information processor2 (not used so far in communication with server 6). Therefore, the replypackets are, also in second communication control unit 4, transmitted bynewly assigned 50 ports P18 to P19 (see FIG. 12). In secondcommunication control unit 4, the latest port assigned at the moment oftransmission of reference port detection packet is port P7, and thebubble packet is transmitted to port P17 which is 50 port numbers awayfrom this port P7, therefore unless port P17 has been already used inother device than second information processor 2 at the time oftransmission of reply packet, any one of 50 reply packets is transmittedto first communication control unit 3 by using bubble packettransmitting target port P17. In first communication control unit 3, PSNAT is used, and transmission record of transmission of bubble packetsto bubble packet transmitting target port 17 is left in firstcommunication control unit 3, only the reply packet transmitted by usingbubble packet transmitting target port 17 can be received. The replypacket is received in replay packet receiver 17 by way of port P10 offirst information processor 1.

In this specific example 1, by receiving this reply packet,communication between first information processor 1 and secondinformation processor 2 is established, but herein, successively,transmission of re-reply packet is explained.

Reply packet transmitter 24 of second information processor 2, aftertransmission of 50 reply packets, sends the notice of completion oftransmission of reply packets to server 6 by way of port P5 of secondcommunication control unit 4. Server 6 receives the notice of completionof transmission of reply packets, and sends this notice to firstinformation processor 1 by way of port P2 of first communication controlunit 3. Receiving this notice, reply packet receiver 17 of firstinformation processor 1 acquires port number 23550 of port P17 of secondcommunication control unit 4 receiving the replay packets included inthe header of replay packet 17 since the reply packet has been alreadyreceived, and transfers an instruction of transmission of this portnumber and re-reply packet to re-reply packet transmitter 18 (stepS105). If reply packet receiver 17 has not received reply packet, replypacket receiver 17 sends the notice of reception of no reply packet toserver 6. As a result, server 6 sends again a transmission request ofreference port detection packet to second information processor 2, andthe process for establishing the connection between first informationprocessor 1 and second information processor 2 is repeated (steps 5101to S104).

Re-reply packet transmitter 18 sends a re-reply packet to port P17 ofport number 23550 received from reply packet receiver 17 (step S106).This re-reply packet is transmitted to second information processor 2 byusing port P13 of first communication control unit 3 and port P17 ofsecond communication control unit 4, and is received in re-reply packetreceiver 25 in second information processor 2.

Re-reply packet transmitter 18, after transmission of re-reply packet,sends the notice of completion of transmission of re-reply packet toserver 6 by way of port P2 of first communication control unit 3. Server6 receives the notice of completion of transmission of re-reply packet,sends this notice further to second information processor 2 by way ofport P5 of second communication control unit 4. Re-reply packet receiver25 of second information processor 2 receives this notice. In this case,since the re-reply packet has been already received in re-reply packetreceiver 25, the process of establishing communication between firstinformation processor 1 and second information processor 2 is terminated(step S107). If re-reply packet receiver 25 has not received re-replypacket, re-reply packet receiver 25 sends the notice of reception of nore-reply packet to server 6. As a result, server 6 sends again atransmission request of reference port detection packet to secondinformation processor 2, and the process for establishing the connectionbetween first information processor 1 and second information processor 2is repeated (steps S101 to S106).

Then, between first information processor 1 and second informationprocessor 2, peer-to-peer communication by UDP without resort to server6 is done by way of port P13 of first communication control unit 3 andport P17 of second communication control unit 4.

In this example 1, the port detection packet and bubble packet aretransmitted by using consecutive ports in first communication controlunit 3, but in the case of, for example, port number 10040 of port P12and port number 10043 of port P14, if the port detection packet andbubble packet are not transmitted by using consecutive ports in firstcommunication control unit 3, transmission of bubble packet and portdetection packet is repeated until the port of first communicationcontrol unit 3 used in transmission of port detection packet and thebubble packet transmitting port are consecutive ports (steps S102,S103). Herein, several reasons may be considered why the port of firstcommunication control unit 3 used in transmission of port detectionpacket, and the bubble transmitting port are not consecutive ports infirst communication control unit 3, for example, other device (notshown) than first information processor 1 is connected to the local sideof first communication control unit 3, and the ports of firstcommunication control unit 3 are assigned to this device fromtransmission of port detection packet to transmission of bubble packet,or from transmission of bubble packet to transmission of port detectionpacket.

Also in example 1, transmission of device ID from first informationprocessor 1, transmission of device ID from second information processor2, transmission of address information from server 6, and othertransmission and reception of information among devices are supposed tobe controlled by a control section not shown in first informationprocessor 1 or the like. This concept is the same in the followingexamples.

In FIG. 11, transmission destination ports P15, P16 of port detectionpacket may be same port, or same as port P3.

In FIG. 11, if PS NAT is used in first communication control unit 3,port P9, port P10, and port P11 may be the same port. In this case,however, port P9 (=port P10, P11) is a port newly assigned at the timeof transmission of first port detection packet. Port P15 and port P16are different.

EXAMPLE 2

In example 2, Sd NAT is used in first communication control unit 3, andPS NAT is used in second communication control unit 4.

In this case, too, it is same as in example 1 until reply packet istransmitted from second information processor 2 to first communicationcontrol unit 3, and its explanation is omitted. In example 2, using sameport numbers as in example 1, bubble packets and others are transmitted.In the case of example 2, since Sd NAT is used in first communicationcontrol unit 3, that is, the reception filter rule is no filter NAT, allof 50 reply packets sent from second information processor 2 arereceived in reply packet receiver 17 by way of port P10 of firstinformation processor 1.

Reply packet receiver 17 acquires the port number of secondcommunication control unit 4 used in transmission of reply packet fromeach reply packet, and transfers this port number to re-reply packettransmitter 18. Re-reply packet transmitter 18 receives this portnumber, and sends a re-reply packet to each port number received insecond communication control unit 4 (see FIG. 14). In Sd NAT used infirst communication control unit 3, since the transmitting portassigning rule is port sensitive, it is possible to transmit to secondcommunication control unit 4 by using bubble transmitting port P13 infirst communication control unit 3 only when the packet is transmittedto bubble packet transmitting target port P17 of second communicationcontrol unit 4. Therefore, as shown in FIG. 14, the re-reply packettransmitted to other than bubble packet transmitting target port P17 istransmitted by using ports P22 to P23 newly assigned in firstcommunication control unit 3. Second communication control unit 4, usingPS NAT, cannot receive re-reply packet from other than ports of firstcommunication control unit 3 used in transmission of reply packet.Therefore, re-reply packet receiver 25 of second information processor 2can receive only the re-reply packet transmitted to bubble packettransmitting target port P17. Thus, communication is established betweenfirst information processor 1 and second information processor 2.

Significance of sending re-reply packet from first information processor1 to second communication control unit 4 is explained. If firstinformation processor 1 receives reply packet, communication betweenfirst information processor 1 and second information processor 2 may bealways established securely through the port allowing to pass this replypacket. That is, as in example 2, communication can be established onlyin the route of the replay packet sent through bubble packettransmitting target port P17 out of the received reply packets. Or thefollowing situation may be considered. In example 2, even if the replypacket is transmitted without using bubble packet transmitting targetport P17 (for example, when bubble packet transmitting target port P17has been used by other device until transmission of reply packet), firstinformation processor 1 can receive all reply packets. However, if firstinformation processor 1 transmits re-reply packet corresponding to thisreply packet, this re-reply packet is not received in second informationprocessor 2, and communication is not established. Thus, by transmissionof re-reply packet, it is possible to confirm the position of the portused in peer-to-peer communication capable of establishing communicationfirst information processor 1 and second information processor 2, and itcan be confirmed whether communication can be established or not betweenfirst information processor 1 and second information processor 2.

EXAMPLE 3

In example 3, Sd NAT is used in first communication control unit 3, andAS NAT is used in second communication control unit 4. Example 3 refersto a special case of establishing communication between firstinformation processor 1 and second information processor 2 without usingbubble packet transmitting target port.

FIG. 15 is a diagram explaining transmission of reply packet from secondinformation processor 2. In transmission of this reply packet, sincebubble packet transmitting target port P17 has been already used byother device, reply packet is supposed to be transmitted by way of portsP24 to P25 in second communication control unit 4 not including bubblepacket transmitting target port P17. Since no filter NAT is used infirst communication control unit 3, first information processor 1receives all these reply packets.

FIG. 16 is an explanatory diagram of transmission of re-reply packet. Asshown in FIG. 16, re-reply packet transmitter 18 is supposed to sendre-reply packet to ports P24 to P25 of second communication control unit4. In this case, since Sd NAT is used in first communication controlunit 3, the re-reply packet is sent to ports P24 to P25 of secondcommunication control unit 4 by using newly assigned ports P26 to P27.Since AS NAT, that is, NAT of address sensitive filter is used in secondcommunication control unit 4, these re-reply packets are received insecond communication control unit 4, and transferred to ports P20 to P21of second information processor 2. Later, second information processor 2selects any one (for example, the first arrival one) out of re-replypackets, and can communicate with first information processor 1 by wayof the route of transmission of this re-reply packet (for example, portP26 of first communication control unit 3 and port P24 of secondcommunication control unit 4).

The situation in example 3 corresponds to a case in which no filter orAS filter is used in first communication control unit 3, and no filteror AS filter is used in second communication control unit 4. In thiscase, therefore, if the position of bubble packet transmitting port P13can be known accurately, connection of first information processor 1 andsecond information processor 2 can be realized securely.

When the NAT used in first communication control unit 3 is no filter,all reply packets can be received in first information processor 1. Whenthe NAT used in first communication control unit 3 is AS filter, sincethe bubble packet is transmitted to second communication control unit 4,all reply packets can be received in first information processor 1. Whenthe NAT assigning rule used in first communication control unit 3 iscone or address sensitive, first information processor 1 can transmitthe re-reply packet to the received reply packet by using bubble packettransmitting port P13. Therefore, when the NAT filter used in firstcommunication control unit 3 is no filter or AS filter, and the portassigning rule is cone or address sensitive, regardless of the type ofsecond communication control unit 4, only if the position of bubblepacket transmitting port P13 can be known accurately, connection offirst information processor 1 and second information processor 2 can berealized securely.

Hence, as shown in FIG. 17, according to the communication system of thepreferred embodiment, communication can be established regardless of thetype of NAT used in first communication control unit 3 and secondcommunication control unit 4. As a result, without having to judge thetype of NAT used in first communication control unit 3 and secondcommunication control unit 4, communication between first informationprocessor 1 and second information processor 2 can be established. Inparticular, if the combination of NATs is particular, if the replypacket is transmitted without using bubble packet transmitting targetport, as far as the position of the bubble packet transmitting port canbe detected correctly, communication can be established between firstinformation processor 1 and second information processor 2 can be (inthe case of ⊚ mark in FIG. 17). Otherwise (◯ mark in FIG. 17), if theposition of bubble packet transmitting port can be detected correctly,communication cannot be established unless the reply packet istransmitted by using bubble packet transmitting target port. In such acase, the process for establishing communication is repeated until thereply packet can be transmitted by using the bubble packet transmittingtarget port. As shown in FIG. 17, first communication control unit 3 andsecond communication control unit 4 may use open NAT (not using NAT).

Preferred Embodiment 2

A communication system in preferred embodiment 2 of the invention isdescribed while referring to the accompanying drawings. Thecommunication system of the preferred embodiment is intended to lessenthe processing load of the server, by detecting the bubble packettransmitting port or detecting the port number differential by theinformation processor, not by the server.

The configuration of the communication system of the preferredembodiment is same as shown in FIG. 1, except that first informationprocessor 10, second information processor 20, and server 60 areprovided respectively instead of first information processor 1, secondinformation processor 2, and server 6, and its explanation is omitted.

FIG. 18 is a block diagram of configuration of first informationprocessor 10 in the preferred embodiment. In FIG. 18, first informationprocessor 10 comprises communication unit 11, reference port receiver12, bubble packet transmitter 13, detection packet transmitter 14, portnumber differential detection packet transmitter 15, reply packetreceiver 17, re-reply packet transmitter 18, port number differentialreceiver 19, detection port information receiver 71, bubble packettransmitting port detector 72, bubble packet transmitting porttransmitter 73, port number differential information receiver 74, andport number differential detector 75. The structure and operation ofother parts than detection port information receiver 71, bubble packettransmitting port detector 72, bubble packet transmitting porttransmitter 73, port number differential information receiver 74, andport number differential detector 75 are same as in preferred embodiment1, except that port number differential detector 19 receives the portdifferential information transmitted from second information processor20 by way of server 60, and the explanation is omitted.

Detection port information receiver 71 receives detection portinformation sent from server 60 by way of communication unit 11. Thedetection port information is the information showing the position ofthe port of first communication control unit 3 allowing to pass the portdetection packet sent from detection packet transmitter 14.

Bubble packet transmitting port detector 72 detects the position ofbubble packet transmitting port on the basis of detection portinformation received in detection port information receiver 71. Bubblepacket transmitting port detector 72 detects the position of bubblepacket transmitting port by using the port number differential in firstcommunication control unit 3 detected by port number differentialdetector 75. The position of bubble packet transmitting port is detectedsame as in bubble packet transmitting port detector 65 in preferredembodiment 1, and its explanation is omitted. If failing to detect theposition of bubble packet transmitting port, bubble packet transmittingport detector 72 transfers a re-send instruction of port detectionpacket to detection packet transmitter 14, and a re-send instruction ofbubble packet is transferred to bubble packet transmitter 13. As aresult, detection packet transmitter 14 sends again the port detectionpacket according to the instruction. Bubble packet transmitter 13 sendsthe bubble packet again according to the instruction. Thisre-transmission is repeated until bubble packet transmitting portdetector 72 detects the position of bubble packet transmitting port, orby a specified limit, such as by a specified number of times (forexample, 10 times) or for a specified duration (for example, 30seconds).

Bubble packet transmitting port transmitter 73 transmits the bubblepacket transmitting port information showing the position of bubblepacket transmitting port detected by bubble packet transmitting portdetector 72 to second information processor 20 by way of server 60.

Port number differential information receiver 74 receives portdifferential information. The port differential information is theinformation showing the position of port in first communication controlunit 3 allowing to pass the port number differential detection packettransmitted by port number differential detection packet transmitter 15.The port differential information is transmitted from server 60.

Port number differential detector 75 detects the port numberdifferential in first communication control unit 3 on the basis of portdifferential information received in port number differentialinformation receiver 74. Detection of port number differential is sameas in port number differential detector 64 in preferred embodiment 1,and its explanation is omitted.

FIG. 19 is a block diagram of configuration of second informationprocessor 20 in this preferred embodiment. In FIG. 19, secondinformation processor 20 comprises communication unit 21, reference portdetection packet transmitter 22, bubble packet transmitting portreceiver 23, reply packet transmitter 24, re-reply packet receiver 25,port number differential detection packet transmitter 26, port numberdifferential information receiver 81, port number differential detector82, and port number differential transmitter 83. The structure andoperation of other parts than port number differential informationreceiver 81, port number differential detector 82, and port numberdifferential transmitter 83 are same as in preferred embodiment 1, andthe explanation is omitted.

Port number differential information receiver 81 receives portdifferential information. The port differential information is theinformation showing the position of port in second communication controlunit 4 allowing to pass the port number differential detection packettransmitted by port number differential detection packet transmitter 26.The port differential information is transmitted from server 60.

Port number differential detector 82 detects the port numberdifferential in second communication control unit 4 on the basis of portdifferential information received in port number differentialinformation receiver 81. Detection of port number differential is sameas in port number differential detector 64 in preferred embodiment 1,and its explanation is omitted.

Port number differential transmitter 83 transmits the port numberdifferential information as the information showing the port numberdifferential in second communication control unit 4 detected by portnumber differential detector 82 to first information processor 10 by wayof server 60.

FIG. 20 is a block diagram of configuration of server 60 in thepreferred embodiment. In FIG. 20, server 60 comprises communication unit61, reference port detector 62, reference port transmitter 63, detectorfor detecting port number 91, port number information transmitter fordetecting port number 92, port number differential information detector93, and port number differential information transmitter 94. Thestructure and operation of other parts than detector for detecting portnumber 91, port number information transmitter for detecting port number92, port number differential information detector 93, and port numberdifferential information transmitter 94 are same as in preferredembodiment 1, and the explanation is omitted.

Detector for detecting port number 91 receives the port detection packettransmitted from first information processor 10, and detects theposition of the port of first communication control unit 3 allowing topass the port detection packet on the basis of the port detectionpacket. The port position is detected by acquiring the position of theport of first communication control unit 3 allowing to pass the portdetection packet included in the port detection packet (for example,included in the header of port detection packet).

Port number information transmitter for detecting port number 92transmits the detection port information showing the position of theport detected by detector for detecting port number 91 to firstinformation processor 10.

Port number differential information detector 93 receives the portnumber differential detection packet sent from first informationprocessor 10 by way of first communication control unit 3, and detectsthe position of port of first communication control unit 3 allowing topass the port number differential detection packet on the basis of theport number differential detection port. Port number differentialinformation detector 93 further receives the port number differentialdetection packet sent from second information processor 20 by way ofsecond communication control unit 4, and detects the position of port ofsecond communication control unit 4 allowing to pass the port numberdifferential detection packet on the basis of the port numberdifferential detection port.

Port number differential information transmitter 94 transmits portdifferential information showing the position of the port of firstcommunication control unit 3 allowing to transmit the port numberdifferential detection packet transmitted by port number differentialinformation detector 93 to first information processor 10. Port numberdifferential information transmitter 94 further transmits portdifferential information showing the position of the port of secondcommunication control unit 4 allowing to transmit the port numberdifferential detection packet transmitted by port number differentialinformation detector 93 to second information processor 20.

It may also comprise a first detector for detecting port number fordetecting the position of the port in first communication control unit 3allowing to pass the port number differential detection packet, and asecond detector for detecting port number for detecting the position ofthe port in second communication control unit 4 allowing to pass theport number differential detection packet. Similarly it may alsocomprises a first port number information transmitter for portdifferential detection for transmitting the port differentialinformation showing the position of the port in first communicationcontrol unit 3 allowing to pass the port number differential detectionpacket to first information processor 10, and a second port numberinformation transmitter for port differential detection for transmittingthe port differential information showing the position of the port insecond communication control unit 4 allowing to pass the port numberdifferential detection packet to second information processor 20. Theyare realized by one component each, that is, port number differentialinformation detector 93 and port number differential informationtransmitter 94. That is, of port number differential informationdetector 93, the portion for detecting the position of the port in firstcommunication control unit 3 allowing to pass the port numberdifferential detection packet is the firs detector for detecting portnumber, and the portion for detecting port number for detecting theposition of the port in second communication control unit 4 allowing topass the port number differential detection packet is the seconddetector for detecting port number. Similarly, of port numberdifferential information transmitter 94, the portion for transmittingthe port differential information showing the position of the port infirst communication control unit 3 allowing to pass the port numberdifferential detection packet to first information processor 10 is thefirst port number information transmitter for port differentialdetection, and the portion for transmitting the port differentialinformation showing the position of the port in second communicationcontrol unit 4 allowing to pass the port number differential detectionpacket to second information processor 20 is the second port numberinformation transmitter for port differential detection.

The operation of communication system of the preferred embodiment isexplained. The operation of the communication system in the preferredembodiment is same as the operation in preferred embodiment 1 shown inFIG. 5 up to the process of start of communication, except that thebubble packet transmitting port is detected and the re-send of bubblepacket is instructed in first information processor 10, and theexplanation is omitted.

In the flowchart in FIG. 5, the process at step S101 is explained byreferring to FIG. 21. FIG. 21 is a diagram for explaining the exchangeand processing of information among the transmission side, servers, andreception side. Process at steps S201 to S206 is same as explained inFIG. 6 in preferred embodiment 1, and the explanation is omitted.

(Step S501) Port number differential information detector 93 of server60 receives a port number differential detection packet transmitted fromfirst information processor 10. Port number differential informationdetector 93 detects the position of the port of first communicationcontrol unit 3 allowing to pass this port number differential detectionpacket included in the header of the port number differential detectionpacket.

(Step S502) Port number differential information transmitter 94transmits the port differential information which is the informationshowing the position of the port of first communication control unit 3allowing to pass the port number differential detection packet detectedby port number differential information detector 93, to firstinformation processor 10. This port differential information is receivedin port number differential information receiver 74 in first informationprocessor 10.

(Step S503) Port number differential detector 75 detects the port numberdifferential of first communication control unit 3 on the basis of portdifferential information received in port number differentialinformation receiver 74. This detection of port number differential issame as in preferred embodiment 1, and its explanation is omitted.

(Step S504) Port number differential information detector 93 of server60 receives a port number differential detection packet transmitted fromsecond information processor 20. Port number differential informationdetector 93 detects the position of the port of second communicationcontrol unit 4 allowing to pass this port number differential detectionpacket included in the header of the port number differential detectionpacket.

(Step S505) Port number differential information transmitter 94transmits the port differential information which is the informationshowing the position of the port of second communication control unit 4allowing to pass the port number differential detection packet detectedby port number differential information detector 93, to secondinformation processor 20. This port differential information is receivedin port number differential information receiver 81 in secondinformation processor 20.

(Step S506) Port number differential detector 82 detects the port numberdifferential of second communication control unit 4 on the basis of portdifferential information received in port number differentialinformation receiver 81. This detection of port number differential issame as in preferred embodiment 1, and its explanation is omitted.

(Step S507) Port number differential information transmitter 83transmits the port number differential information as the informationshowing the port number differential of second communication controlunit 4 to server 60, together with an instruction for transmitting thisport number differential information to first information processor 10.

(Step S508) Communication unit 61 of server 60 receives the port numberdifferential information, and transmits this port number differentialinformation to first information processor 10. This port numberdifferential information is received in port number differentialreceiver 19 in first information processor 10.

In the flowchart in FIG. 5, the process at step S102 is explained byreferring to FIG. 22. FIG. 22 is a diagram for explaining the exchangeand processing of information among the transmission side, servers, andreception side. Process at steps S301 to S303 is same as explained inFIG. 8 in preferred embodiment 1, except that the port detection packetis received in detector for detecting port number 91 in server 60, andthe explanation is omitted.

(Step S601) Detector for detecting port number 91 of server 60 receivesa port detection packet transmitted from first information processor 10.Detector for detecting port number 91 detects the position of port offirst communication control unit 3 allowing to pass the port detectionpacket included in the header of the port detection packet.

(Step S602) Port number information transmitter for detecting portnumber 92 transmits the detection port information showing the positionof port of first communication control unit 3 allowing to pas the portdetection packet, detected by detector for detecting port number 91, tofirst information processor 10. The detection port information isreceived in detection port information receiver 71 in first informationprocessor 10.

(Step S603) Detector for detecting port number 91 of server 60 receivesa port detection packet transmitted from first information processor 10.Detector for detecting port number 91 detects the position of port offirst communication control unit 3 allowing to pass the port detectionpacket included in the header of the port detection packet.

(Step S604) Port number information transmitter for detecting portnumber 92 transmits the detection port information showing the positionof port of first communication control unit 3 allowing to pas the portdetection packet, detected by detector for detecting port number 91, tofirst information processor 10. The detection port information isreceived in detection port information receiver 71 in first informationprocessor 10.

(Step S605) Bubble packet transmitting port detector 72 of firstinformation processor 10 judges if the positions of ports of firstcommunication control unit 3 used in transmission of two port detectionpackets at steps S301, S033, and the bubble packet transmitting port areconsecutive or not. The specific judging method is same as in preferredembodiment 1, and its explanation is omitted.

In the flowchart in FIG. 22, first information processor 10 transmitsthe bubble packet after receiving the detection port informationtransmitted at step S602, but the sequence of reception of detectionport information and transmission of bubble packet is not specified. Forexample, after transmission of second port detection packet (step 5303),transmission of first detection port information (step S602) andtransmission of second detection port information (step S604) may beexecuted. Or the detection port information showing the port positionsdetected at steps S601, S603 may be transmitted in batch.

In the flowchart in FIG. 5, the process at step S104 is explained byreferring to FIG. 23. FIG. 23 is a diagram for explaining the exchangeand processing of information among the transmission side, servers, andreception side. Process at steps S403 and S404 is same as explained inFIG. 9 in preferred embodiment 1, and the explanation is omitted.

(Step S701) Bubble packet transmitting port detector 72 of firstinformation processor 10 detects the position of bubble packettransmitting port. Specific judging method is same as in preferredembodiment 1, and the explanation is omitted.

(Step S702) Bubble packet transmitting port transmitter 73 of firstinformation processor 10 transmits the bubble packet transmitting portinformation to server 60, together with an instruction of transmittingthe bubble packet transmitting port information to second informationprocessor 20.

(Step S703) Communication unit 61 of server 60 receives the bubblepacket transmitting port information, and transmits the bubble packettransmitting port information to second information processor 20. Thisbubble packet transmitting port information is received in bubble packettransmitting port receiver 23 in second information processor 20.

In specific examples of operation of communication system of thepreferred embodiment, the port number differential in firstcommunication control unit 3 and second communication control unit 4 isdetected respectively in first information processor 10 and secondinformation processor 20, the position of the bubble packet transmittingport is detected by first information processor 10, and accompanyingprocesses are done (for example, transmission of bubble packettransmitting port information from first information processor 10 tosecond information processor 20), and other operations are same as inpreferred embodiment 1, and the explanation is omitted.

Hence, in the communication system in the preferred embodiment, inaddition to the same effects as in preferred embodiment 1, detection ofport number differential in first communication control unit 3 or secondcommunication control unit 4, or detection of position of bubble packettransmitting port is done in first information processor 10 or secondinformation processor 20, so that the processing load in server 60 canbe saved. In particular, since the processing load is heavy in waitingprocess (such as process of waiting for transmission of second portdetection packet after transmission of first port detection packet),such waiting process is not done in the server, so that the processingload of server 60 may be substantially lessened.

In this preferred embodiment, detection of port number differential offirst communication control unit 3 is done in first informationprocessor 10, but first information processor 10 may detect the bubblepacket transmitting port and transmit the bubble packet transmittingport, while detection of port within first communication control unit 3may be done in the server same as in preferred embodiment 1. Similarly,either detection of port number differential of second communicationcontrol unit 4, or detection of bubble packet transmitting port may bedone in the server same as in preferred embodiment 1.

In the preferred embodiment, the port number differential in secondcommunication control unit 4 is detected in second information processor20, but the port number differential in second communication controlunit 4 may be detected in first information processor 10. In this case,it is not required to transmit the information of port numberdifferential from second information processor 20 to first informationprocessor 10 by way of server 60. In this case, the port differentialinformation showing the position of the port in second communicationcontrol unit 4 allowing to pass the port number differential detectionpacket sent from second information processor 20 is transmitted to firstinformation processor 10 from server 60.

In the preferred embodiment, the bubble packet transmitting port isdetected in first information processor 10, but the bubble packettransmitting port may be detected in second information processor 20. Inthis case, it is not required to transmit the bubble packet transmittingport information from first information processor 10 to secondinformation processor 20 by way of server 60. In this case, thedetection port information showing the position of the port in firstcommunication control unit 3 allowing to pass detection packet sent fromfirst information processor 10 is transmitted to second informationprocessor 20 from server 60. Also in this case, the port numberdifferential in first communication control unit 3 may be detected insecond information processor 20.

In the preferred embodiment, the reference port information istransmitted from server 60 to first information processor 10, but thereference port information may be also transmitted to second informationprocessor 20 which has transmitted the reference port detection packet.In this case, the reference port information is transmitted again fromsecond information processor 20 to first information processor 10 by wayof server 60.

In the preferred embodiment, the port number differential detectionpacket, reference port detection packet, and port detection packetinclude information (for example, device ID or IP address) forspecifying the information processor for transmitting the informationshowing the position of the port in the communication control unitallowing to pass these packets, and server 60 may transmit theinformation showing the position of the detected port on the basis ofsuch information. For example, the port number differential detectionpacket sent from port number differential detection packet transmitter15 includes the device ID of first information processor 10, and portnumber differential information transmitter 94 may transmit the portdifferential information to first information processor 10 correspondingto this device ID.

Preferred Embodiment 3

A communication system in preferred embodiment 3 of the invention isdescribed while referring to the accompanying drawings. Thecommunication system in the preferred embodiment is characterized bythat one information processor communicates directly without resort tocommunication control unit.

FIG. 24 is a block diagram of configuration of communication system inthe preferred embodiment. In FIG. 24, the communication system in thepreferred embodiment comprises first information processor 1, secondinformation processor 2, first communication control unit 3, and server6. The communication system in the preferred embodiment shown in FIG. 24is same as the communication system in preferred embodiment 1, exceptthat second communication control unit is not provided. The structureand operation of first information processor 1, second informationprocessor 2, and server 6 are same as in preferred embodiment 1, and thedetailed description is omitted.

Herein, since second information processor 2 is intended to communicatewithout resort to communication control unit, second informationprocessor 2 is assumed to be communication as if by way of communicationcontrol unit of full cone NAT. Therefore, the operation in thispreferred embodiment is same as operation in the case of secondcommunication control unit 4 operating on full cone NAT in preferredembodiment 1, and communication between first information processor 1and second information processor 2 can be established. (In FIG. 17, thecase of NAT of one side being open NAT corresponds to this preferredembodiment.)

Thus, in the communication system of the preferred embodiment, if secondinformation processor 2 communicates without resort to communicationcontrol unit, communication between first information processor 1 andsecond information processor 2 can be established.

This preferred embodiment is similar to the communication system inpreferred embodiment 1 except that second communication control unit isnot provided, but it is similarly realized in the communication systemin preferred embodiment 2 excluding second communication control unit.Thus, if the second information processor communicates without resort tocommunication control unit, communication between first informationprocessor 1 and second information processor 2 can be established.

Or, in the preferred embodiment, second information processor 2communicates without resort to communication control unit, but if secondinformation processor 2 communicates by way of communication controlunit, and first information processor 1 communicates without resort tocommunication control unit, similarly, communication between firstinformation processor 1 and second information processor 2 can beestablished.

In the explanation of the foregoing preferred embodiments, the servers6, 60 have the function of informing the information process of the IPaddress of the communication control unit of the partner side, but thisfunction may be realized by other server than server 6, etc. That is,the server for informing one information process of the address of othercommunication control unit may be different from the server forprocessing detection of bubble packet transmitting port and others.Therefore, in the communication system shown in FIG. 25, firstinformation processor 1 and second information processor 2 may acquirethe addresses of first communication control unit 3 and secondcommunication control unit 4 from address server 6b, and server 6a maybe used in process of establishing communication between informationprocessors.

SIP (session initiation protocol) may be used in the process ofinforming one information processor of address of other communicationcontrol unit (or information processor if communication control unit isnot provided), or the process of calling the partner side (receivingside) information processor from the sending/calling side informationprocessor.

In the foregoing preferred embodiments, the reference port is the latestassigned port at the time of transmission of reference port detectionpacket, but the reference port may not be always the latest assignedport. For example, when the devices connected to second communicationcontrol unit 4 are second information processors 2, 20 only, and thenumber of ports used in second communication control unit 4 can beapproximately known, the port of second communication control unit 4used in communication with servers 6, 60 may be used as reference port.In this case, the reference port detection packet is the packetcommunicating with servers 6, 60.

In the foregoing preferred embodiments, the port detection packet istransmitted twice before and after transmission of bubble packet, butthe port detection packet may be transmitted only once either before orafter transmission of bubble packet. In this case, the bubble packettransmitting port is detected by assuming that the bubble packettransmitting port and the port of first communication control unit 3used in transmission of port detection packet are consecutive. If thisassumption is wrong, the reference port detection packet cannot betransmitted again (process from step S101 is repeated).

In the foregoing preferred embodiments, the position of bubble packettransmitting port is detected after judging if the position of bubblepacket transmitting port can be detected or not by bubble packettransmitting port detectors 65, 72, but in a specified case, withoutsuch judging step, the position of bubble packet transmitting port canbe detected. The specified case is, for example, a case in which nothingother than first information processors 1, 10 is connected to firstcommunication control unit 3, and it is highly possible that the bubblepacket transmitting port and the port of first communication controlunit 3 used in transmission of port detection packet are consecutive. Inthis case, if the detected position of bubble packet transmitting portis wrong, as far as the type of NAT used in first communication controlunit 3 is as specified, reply packet is not received in firstinformation processors 1, 10, and the process is repeated from the stepof transmission of reference port detection packet.

In bubble packet transmitting port detectors 65, 72, if it is judgedthat the bubble packet transmitting port and the port of firstcommunication control unit 3 used in transmission of port detectionpacket are not consecutive, as explained in the foregoing preferredembodiments, a re-send instruction may be transmitted to firstinformation processor 1, or re-send may be instructed to bubble packettransmitter 13 or the like, or process of establishment of communicationmay be terminated, and process from transmission of reference portdetection packet may be repeated.

In bubble packet transmitting port detectors 65, 72, if it may be alsojudged that the bubble packet transmitting port and the port of firstcommunication control unit 3 used in transmission of port detectionpacket are consecutive when the probability of continuity is high. Forexample, when the port number differential of first communicationcontrol unit 3 changes between 1 and 2 (for example, when changing intime), possibility of continuity is high when the port interval of firstcommunication control unit 3 used in transmission of port detectionpacket is 2, 3, 4, and it may be judged to be consecutive, and theprocess may be advanced to next step. In this case, too, if the portinterval of first communication control unit 3 used in transmission ofport detection packet is 5, it is judged not consecutive.

In the foregoing preferred embodiments, the port number differential isdetected by port number differential detectors 64, 75, 82, but the portnumber differential may be also transferred to servers 6, 60 or firstinformation processors 1, 10 by manual input by user, specifiedrecording medium (for example, CD-ROM or detachable memory), orcommunication, or the port number differential stored in firstcommunication control unit 3 or the like may be acquired. The same issaid of acquisition of IP address of second communication control unit 4or the like by first information processors 1, 10, etc. That is, the IPaddress may be entered in first information processors 1, 10, etc. bymanual input by user, etc.

In the foregoing preferred embodiments, first information processors 1,10 transmit the bubble packet and port detection packet by using newports in first information processors 1, 10, but when first informationprocessor 1 detects NAT of port sensitive port assigning rule is used infirst communication control unit 3, first information processors 1, 10may transmit the bubble packet and port detection packet from the sameport of first information processors 1, 10. In this case, transmissiondestination ports (ports of servers 6, 60) of port detection packet mustbe mutually different.

In the foregoing preferred embodiments, it is explained that the replypacket is transmitted by using a port in second communication controlunit 4 assigned newly when transmitting the reply packet, but this isonly an example, and the ports in second communication control unit 4used in transmission of reply packet may include ports used hitherto,for example, the port used in transmission of reference port detectionpacket.

The number of ports (α) that can be assigned from reference port tobubble packet transmitting target port can be increased on everyoccasion of re-transmission of bubble packet, etc. That is, bubblepacket transmitter 13 can transmit a bubble packet to the bubble packettransmitting target port apart from the reference port every time thebubble packet is re-transmitted. In this manner, it is easier to avoiduse of bubble packet transmitting target port until reply packet istransmitted.

In the foregoing preferred embodiments, reply packet transmitter 24receives the number of ports (α) that can be assigned from referenceport to bubble packet transmitting target port from bubble packettransmitter 13 by way of server 6, but the number of α may be alsotransmitted to bubble packet transmitter 13 and reply packet transmitter24 from servers 6, 60 (in this case, the port differential informationmay not be transmitted to first information processor 1), and the valueof α may be preset in first information processors 1, 10 and secondinformation processors 2, 20.

In the foregoing preferred embodiments, reply packet transmitter 24transmits the reply packets by the number of ports (α) that can beassigned from reference port to bubble packet transmitting target port,but reply packet transmitter 24 may also transmit reply packets by morethan α, or transmit reply packets by less than α. For example, replypacket transmitter 24 may not receive the number of α from bubble packettransmitter 13 by way of servers 6, 60, but may receive the differencein port number between reference port and bubble packet transmittingtarget port, and transmit the reply packets by the number of timescorresponding to the value of difference. In this case, reply packettransmitter 24 transmits reply packets by a multiple times of α. Asexplained in the process about step S209 in FIG. 6, if it is possiblethat the port number differential in second communication control unit 4detected by port number differential detectors 68, 82 may be a multipleof actual port number differential, it is better to set the differencein port number between reference port and bubble packet transmittingtarget port as the number of reply packets. This is because the replypackets can be transmitted more securely by using the bubble packettransmitting target port. Or when second information processors 2, 20have prior knowledge of the number of ports assigned after assignment ofreference port in second communication control unit 4, the reply packetsmay be transmitted by the number subtracting this number from α. In thiscase, too, the reply packets can be transmitted by using the bubblepacket transmitting target port (however, it is required that the portnumber differential of second communication control unit 4 should bedetected correctly). Therefore, if ports are assigned up to one portbefore the bubble packet transmitting target port, only one reply packetmay be transmitted.

In the foregoing preferred embodiments, after receiving the replypacket, a re-send packet is transmitted, but when communication betweenfirst information processors 1, 10 and second information processors 2,20 can be established by receiving the reply packet, the re-send packetmay not be transmitted. For example, when first information processors1, 10 receive the reply packet transmitted by using the bubble packettransmitting target port, peer-to-peer communication is possible by wayof bubble packet transmitting port and bubble packet transmitting targetport, and it is not necessary to transmit re-send packet.

In the specific examples of the foregoing preferred embodiments, whenreply packet can be received or not is judged by checking if replypacket has been already received when receiving the notice oftransmission of reply packet from second information processors 2, 20 byway of servers 6, 60, but it may be judged that the reply packet is notreceived (that is, communication is not established) when reply packetis not received within specified time (for example, 15 seconds) aftertransmission of bubble packet. It is same with the re-send packet, andit may be judged that the re-send packet is not received (that is,communication is not established) when re-send packet is not receivedwithin specified time after transmission of reply packet.

In the foregoing preferred embodiments, reference port information istransmitted or the bubble packet transmitting port is detected by oneserver, 6 or 60, but these processes may be done by plural servers.

Preferred Embodiment 4

A communication system in preferred embodiment 4 of the invention isdescribed while referring to the accompanying drawings. Thecommunication system in the preferred embodiment refers to communicationby SIP, by using the detecting method of position of bubble packettransmitting port explained in the foregoing preferred embodiments.

FIG. 26 is a block diagram of configuration of communication system inthe preferred embodiment. In FIG. 26, the communication system in thepreferred embodiment comprises first information processor 30,communication control unit 3, second information processor 40, portdetection server 51, and SIP server 52. Communication control unit 3 hasthe NAT function, and is responsible for conversion of address,assignment of port, and filtering of packet, same as first communicationcontrol unit 3 in the foregoing preferred embodiments, and itsexplanation is omitted.

FIG. 27 is a block diagram of configuration of first informationprocessor 30 in the preferred embodiment. In FIG. 27, first informationprocessor 30 comprises communication unit 11, bubble packet transmitter13, detection packet transmitter 14, port number differential detectionpacket transmitter 15, detection port information receiver 71, bubblepacket transmitting port detector 72, port number differentialinformation receiver 74, port number differential detector 75, and SIPprocessor 31. The structure and operation of other parts than SIPprocessor 31 are same as in preferred embodiment 2, and the explanationis omitted. However, bubble packet transmitter 13 does not transmit thebubble packet on the basis of the position of reference port indicatedby the reference port information received in reference port receiver12, but transmits the bubble packet to the bubble packet transmittingtarget port on the basis of the information showing the position ofbubble packet transmitting port received in SIP processor 31.

SIP processor 31 processes about SIP. More specifically, together withSIP server 52, transmission of connection request and acquisition ofcommunication partner address and port number are processed. Theseprocesses are same as conventional processes, and the explanation isomitted.

Second information processor 40 is a terminal device (for example, VoIPtelephone terminal) for making peer-to-peer voice communication withother client terminal. Second information processor 40 tells the IPaddress of second information processor 40, position of transmittingport, and position of receiving port to other client terminal by way ofSIP server 52, and also receives the receiving port of other clientterminal through SIP server 52, and the packet transmission destinationcan be set in this receiving port in peer-to-peer voice communication.The transmitting port of client terminal is the port of the clientterminal for transmitting information to other client terminal. Thereceiving port of client terminal is the port of the client terminal forreceiving information from other client terminal. Second informationprocessor 40 is a general client terminal of SIP, and its detaileddescription is omitted.

FIG. 28 is a block diagram of configuration of port detection server 51in the preferred embodiment. In FIG. 28, port detection server 51processes to detect the position of the port of communication controlunit 3 allowing to pass the bubble packet transmitted from firstinformation processor 30. Port detection server 51 comprisescommunication unit 61, detector for detecting port number 91, portnumber information transmitter for detecting port number 92, port numberdifferential information detector 93, and port number differentialinformation transmitter 94. The structure and operation of these partsare same as in preferred embodiment 2, and the explanation is omitted.

SIP server 52 is a server for processing about SIP. Process about SIPincludes, for example, register process of receiving address notice fromclient and registering address, location service process of managing theaddress of client, and proxy server process of receiving call requestfrom client, searching destination address of location service, andtransferring to destination client. These functions of SIP server 52 maybe realized by two or more servers. The SIP server may be providedindividually at first information processor 30 side and secondinformation processor 40 side. In this case, the information is relayedfrom first information processor 30 to second information processor 40in the route of, for example, first information processor 30, first SIPserver, second SIP server, and second information processor 40.Processing of SIP server 52 is same as in the conventional process, andthe detailed description is omitted.

The operation of communication system of the preferred embodiment isexplained. FIG. 29 is an explanatory diagram of exchanging andprocessing of information among sending/calling side, port detectionserver 51, SIP server 52, and receiving side. In FIG. 29, firstinformation processor 30 and communication control unit 3 are at thesending/calling side, and second information processor 40 is atreceiving side.

(Step S801) By transmitting and receiving specified packet between firstinformation processor 30 at sending/calling side and port detectionserver 51, the port number differential of sending/calling sidecommunication control unit 3 is detected. Specific process of detectionof port number differential is same as at steps S206, S501, S502, ands503 in FIG. 21 of preferred embodiment 2, and the explanation isomitted.

(Step S802) First information processor 30 sends a communication requestto request communication with second information processor 40 to SIPserver 52. This communication request includes the instruction oftransmitting the IP address of communication destination client (thatis, second information processor 40), position of transmitting port, andposition of receiving port to first information processor 30.

(Step S803) SIP server 52 relays the communication request sent fromfirst information processor 30 to second information processor 40. Thiscommunication request is received in second information processor 40.

(Step S804) Second information processor 40 transmits communicationdestination information including the information showing the IP addressof second information processor 40, position of transmitting port, andposition of receiving port to SIP server 52.

(Step S805) SIP server 52 relays the communication destinationinformation sent from second information processor 40 to firstinformation processor 30. The communication destination information isreceived in SIP processor 31 of first information processor 30.

(Step S806) First information processor 30 transmits port detectionpacket and bubble packet, and receives detection port information fromport detection server 51. Specific process of transmitting and receivingbubble packet and others is same as in preferred embodiment 2 in FIG.22, and the explanation is omitted. In this preferred embodiment, thebubble packet is transmitted to transmitting port of second informationprocessor 40 by using the communication destination information receivedin SIP processor 31. That is, in this preferred embodiment, the bubblepacket transmitting target port is the transmitting port of secondinformation processor 40. To judge continuity (step S605 in FIG. 21),the port number differential of communication control unit 3 detected atstep S801 is used.

(Step S807) Bubble packet transmitting port detector 72 of firstinformation processor 30 judges if the position of bubble packettransmitting port can be detected or not. When judging continuity atstep S806 (step S605 in FIG. 21), if the ports of communication controlunit 3 used in transmission of two port detection packets and the bubblepacket transmitting port are judged to be consecutive, it is judged thatthe position of bubble packet transmitting port can be detected, and theprocess goes to step S808, or otherwise it is judged that the positionof bubble packet transmitting port cannot be detected, and the processreturns to step S806.

(Step S808) Bubble packet transmitting port detector 72 detects theposition of bubble packet transmitting port. This position of bubblepacket transmitting port is the position of the receiving port at thesending/calling side.

(Step S809) SIP processor 31 sends the communication request includingthe global side IP address of communication control unit 3 and thebubble packet transmitting port detected at step S808 (that is,receiving port) to SIP server 52. The global side IP address ofcommunication control unit 3 is supposed to be acquired preliminarily inprocessing of detection of port number differential, etc.

(Step S810) SIP server 52 relays the communication request sent fromfirst information processor 30 to second information processor 40. Thiscommunication request is received in second information processor 40.

(Step S811) Second information processor 40 transmits the response ofcompletion of preparation for connection to the received communicationrequest.

(Step S812) SIP server 52 relays this response to first informationprocessor 30.

(Step S813) First information processor 30 transmits the confirmationabout response received from second information processor 40.

(Step S814) SIP server 52 relays this confirmation to second informationprocessor 40. Thus, preparation for peer-to-peer connection atsending/calling side and receiving side is complete, and when firstinformation processor 30 sends the information to the receiving port ofsecond information processor 40, and second information processor 40sends the information to receiving port (bubble packet transmittingport) of communication control unit 3, first information processor 30and second information processor 40 can communicate with each otherwithout resort to relay server such as SIP server 52.

Process sequence of steps in FIG. 29 involves a certain freedom. Forexample, the process of detection of port number differential at stepS801 may be executed after transmission step of communication request(step 5802) or transmission process of communication destinationinformation (step 5804) as far as it is executed before process oftransmission or reception of bubble packet at step S806.

The operation of communication system in the preferred embodiment isdescribed below by referring to a specific example. In the specificexample, first information processor 30 and second information processor40 are supposed to have address information registered preliminarily inSIP server 52. Device ID of first information processor 30 is AAA@abc .. . com, and device ID of second information processor 40 is BBB@abc . .. com. In this specific example, device ID is supposed to be AAA@abc . .. com, but the device ID is not particularly specified in format as faras the information can specify the client terminal, such as mail addressor telephone number.

To begin with, first information processor 30 sends a port numberdifferential detection packet to port detection server 51, and detectsthe port number differential of communication control unit 3 (stepS801). Detail of this process is same as in preferred embodiment 2, andthe explanation is omitted.

Further, first information processor 30 sends a communication requestfrom port P1 to port P3 of SIP server 52 shown in FIG. 52 (step S802).This communication request is called INVITE request. The communicationrequest includes device ID of first information processor 30 (AAA@abc .. . com) and device ID of second information processor 40 ofcommunication requested partner (BBB@abc . . . com). The communicationrequest includes also an instruction of transmitting the informationshowing the IP address, position of transmitting port, and position ofreceiving port. When second information processor 40 receives thecommunication request, it may be judged to have received the instructionof transmitting the IP address, etc. That is, instruction command maynot be included in the communication request.

The communication request is received in SIP server 52. SIP server 52searches the IP address and port number corresponding to device ID ofsecond information processor 40 (BBB@abc . . . com), and transmits thecommunication request to the port number of the IP address (step S803).

Second information processor 40, when receiving this communicationrequest, transmits the communication destination information showing theIP address of second information processor 40, position of transmittingport sPort, and receiving port rPort to port P3 of SIP server 52 (stepS804). This communication destination information also includes deviceID of first information processor 30 and device ID of second informationprocessor 40. In the ordinary SIP, the communication destinationinformation does not include the position of transmitting port ofcommunication destination. Therefore, it is an extension of SIP that thecommunication destination information includes the position fortransmitting port of communication destination.

The communication destination information is received in SIP server 52,and is transmitted to first information processor 30 by way ofcommunication control unit 3 (step S805). The communication destinationinformation is received in SIP processor 31 of first informationprocessor 30. SIP processor 31 transfers the information showing the IPaddress of second information processor 40 included in the communicationdestination information and the position of transmitting port sPort tobubble packet transmitter 13.

Later, the bubble packet is transmitted (step S806). More specifically,detection packet transmitter 14 sends the port detection packet to portP11 of port detection server 51 from port P5 newly assigned in firstinformation transmitter 30. The port detection packet is received indetector for detecting port number 91 of port detection server 51, andthe port number of port P8 of communication control unit 3 included inthe header of port detection packet is detected. Port number informationtransmitter for detecting port number 92 transmits the detection portinformation having the port number of port P8 included in the payload toport P8 of communication control unit 3. The detection port informationis converted in address in communication control unit 3, and istransmitted to port P5 of first information processor 30. In detectionport information receiver 71, the detection port information isreceived.

Right after transmission of port detection packet, bubble packettransmitter 13 transmits the bubble packet to port sPort of secondinformation processor 40. This bubble packet is transmitted from port P6of first information processor 30. Herein, port P6 is a different portfrom port P5, and is a port newly assigned in first informationprocessor 30 at the time of transmission of bubble packet.

Right after transmission of bubble packet, detection packet transmitter14 transmits again the port detection packet to port P11 of portdetection server 51. The port detection packet is transmitted from portP7 of first information processor 30. Herein, port P7 is a differentport from port P5 or port P6, and is a port newly assigned in firstinformation processor 30 at the time of transmission of port detectionpacket. This port detection packet is received in port detection server51. Same as in the case of first port detection packet, the detectionport information is transmitted from port detection server 51 to firstinformation processor 30.

Detection port information receiver 71 of first information processor 30receives this detection port information, and judges if the positions ofports of communication control unit 3 used in transmission of two portdetection packets and the bubble packet transmitting port areconsecutive or not. This is judged by checking whether the difference ofport P10 and port P8 is equal or not to 2 times of the port numberdifferential of communication control unit 3 detected at step 5801. Whenthe difference of port P10 and port P8 is equal to 2 times of the portnumber differential of communication control unit 3, bubble packettransmitting port detector 72 judges that the positions of ports ofcommunication control unit 3 used in transmission of two port detectionpackets and the bubble packet transmitting port are consecutive, andjudging that the bubble packet transmitting port can be detected (stepS807), and the middle port number of port number of port P8 and portnumber of port P10 is detected as the position of bubble packettransmitting port (step S808). Bubble packet transmitting port detector72 transfers the position of the detected bubble packet transmittingport to SIP processor 31.

SIP processor 31 transmits the communication request including theposition of the bubble packet transmitting port and the global sideaddress of communication control unit 3 again to SIP server 52 (stepS809). This communication request is also called INVITE request,including the device ID of first information processor 30 and device IDof second information processor 40. The communication request is relayedin SIP server 52, and is transmitted to second information processor 40(step S810). This communication is also done through ports P1 to P4.

Second information processor 40, receiving this communication request,obtains the knowledge of IP address of sending/calling side and positionof receiving port. Second information processor 40 transmits theresponse to communication request to SIP server 52 (step S811). Thisresponse also includes the device ID of first information processor 30and second information processor 40. The response is relayed through SIPserver 52, and is transmitted to first information processor 30 by wayof port P2 of communication control unit 3 (step S812).

To response from communication partner side, confirmation to response istransmitted by way of SIP server 52 (steps S813, S814). Thistransmission of confirmation is known as ACK. Later, as shown in FIG.31, first information processor 30 transmits the information to portrPort of second information processor 40, and second informationprocessor 40 transmits the information to port P9 of communicationcontrol unit 3. The information transmitted to port P9 of communicationcontrol unit 3 is converted in address in communication control unit 3,and is transmitted to port P6 of first information processor 30. Thus,communication is established between first information processor 30 andsecond information processor 40, and it is possible to communicatebetween the two.

In this preferred embodiment, as explained by using the sequence shownin FIG. 29, the sequence for establishing communications betweeninformation processors is not limited to the one shown in FIG. 29 alone.For example, in transmission of response at step S811, the informationshowing the IP address of second information processor 40, and theinformation shoring the position of receiving port may be transmitted tofirst information processor 30 by way of SIP server 52. In this case,first information processor 30 makes use of the information transmittedthrough SIP server 52, and communication between first informationprocessor 30 and second information processor 40 is established. The IPaddress of second information processor 40 transmitted at step S811 issame as that transmitted at step S804. Second information processor 40uses the transmitting port indicated by communication destinationinformation transmitted at step S804 as the transmitting port incommunication with first information processor 30.

According to the communication system of the preferred embodiment, byusing the technique of detecting the position of bubble packettransmitting port explained in preferred embodiments 1 to 3,communication between information processors can be established by theSIP regardless of the type of NAT of communication control unit 3. Thisdetecting method of position of bubble packet transmitting port may beapplied also in other than the system or sequence explained in preferredembodiments 1 to 3.

In the preferred embodiment, the port number differential ofcommunication control unit 3, and the position of bubble packettransmitting port are detected at the client side, but same as inpreferred embodiment 1, any one or more of these processes may beexecuted at the server side.

In the preferred embodiment, port detection server 51 and SIP server 52are individually provided, but they may be realized by one server.

In the preferred embodiment, communication between informationprocessors is established by using the SIP, but other protocol may beused for establishing communication between information processors. Insuch a case, too, by using port detection server 51, the position ofbubble packet transmitting port can be detected, and it is possible tocommunication by way of communication control unit having NAT function.

For example, as explained in preferred embodiment 4, in the foregoingpreferred embodiments, the communication system may be a communicationsystem comprising information processors for transmitting bubble packet,and servers for processing to detect the position of bubble packettransmitting port, and it may be intended to detect the position ofbubble packet transmitting port. That is, the communication system ofthe invention may be realized by the following communication system.This communication system is a communication system comprising aninformation processor, a communication control unit for controlling thecommunication of the information processor, and a server, and theinformation processor includes a bubble packet transmitter fortransmitting a bubble packet for leaving transmission record in thecommunication control unit by way of the communication control unit, anda detection packet transmitter for transmitting a port detection packetused in detection of position of bubble packet transmitting port as theport of the communication control unit used in transmission of thebubble packet, to the server, before and after transmission of thebubble packet by the bubble packet transmitter, and the server includesa bubble packet transmitting port detector for receiving the portdetection packet transmitted from the information processor, anddetecting the position of the bubble packet transmitting port on thebasis of the port detection packet. In this communication system, theposition of bubble packet transmitting port detected by the server maybe transmitted to the information processor by the transmitter, or maybe transferred to the information processor by other method. Othermethod includes, for example, a method of recording the informationshowing the position of bubble packet transmitting port in a recordingmedium, and reading out the information from the recording medium by theinformation processor, or a method of displaying the information showingthe position of bubble packet transmitting port in the server, andallowing the user to see the display and enter the information showingthe range of ports in the information processor.

For example, as explained in preferred embodiment 4, in the foregoingpreferred embodiments, the communication system may be a communicationsystem comprising information processors for transmitting bubble packet,and servers for processing to detect the position of bubble packettransmitting port, and it may be intended to detect the position ofbubble packet transmitting port. That is, the communication system ofthe invention may be realized by the following communication system.This communication system is a communication system comprising aninformation processor, a communication control unit for controlling thecommunication of the information processor, and a server, and theinformation processor includes a bubble packet transmitter fortransmitting a bubble packet for leaving transmission record in thecommunication control unit by way of the communication control unit, adetection packet transmitter for transmitting a port detection packetused in detection of position of bubble packet transmitting port as theport of the communication control unit used in transmission of thebubble packet, to the server, before and after transmission of thebubble packet by the bubble packet transmitter, a detection portinformation receiver for receiving the detection port informationshowing the position of the port of the communication control unitallowing to pass the port detection packet, and a bubble packettransmitting port detector for detecting the position of the bubblepacket transmitting port on the basis of the detection port informationreceived in the detection port information receiver, and the serverincludes a detector for detecting port number for receiving the portdetection packet, and detecting the position of the port of thecommunication control unit allowing to pass the port detection packet,and a port number information transmitter for port differentialdetection for transmitting the detection port information showing theposition of the port detected by the detector for detecting port numberto the information processor. Thus, the position of the bubble packettransmitting port may be detected in the information processor, insteadof the server. In this communication system, the position of bubblepacket transmitting port detected in the information processor may betransmitted to the information processor by the transmitter, or may betransferred to the information processor by other method. Other methodincludes, for example, a method of recording the information showing theposition of bubble packet transmitting port in a recording medium, andreading out the information from the recording medium by the informationprocessor, or a method of displaying the information showing theposition of bubble packet transmitting port in the informationprocessor, and allowing the user to see the display and enter theinformation showing the position of the bubble packet transmitting portin other information processor.

In the foregoing embodiments, each information processor is connected tocommunication network 5 by way of one communication control unit, butcommunications between information processors can be established even inthe case of connected to communication network 5 by way of pluralcommunication control units (that is, multi-stage connection NAT).

In the preferred embodiments, first communication control unit 3 andsecond communication control unit 4 have the NAT function, but firstcommunication control unit 3 and second communication control unit 4 mayhave, instead of the NAT function, or together with the NAT function,firewall function of packet filtering. The packet filtering is to selectthe reception packet on the basis of, for example, the reception filterrule. When first communication control unit 3 has the firewall functionon the basis of such reception filter rule, by leaving the transmissionrecord in first communication control unit 3 by transmission of bubblepacket from the local side (first information processor 1, etc. side) tothe global side (communication network 5), the reply packet transmittedto bubble packet transmitting port may be received. Or when secondcommunication control unit 4 has the fire wall function on the basis ofsuch reception filter rule, by transmission of reply packet from thelocal side (second information processor 2, etc. side) to the globalside by way of the target port for transmitting bubble packet,communication is established between first information processor 1, etc.and second information processor 2, etc.

Herein, the first information processor and second information processormay or may not support the firewall function as application.

In the preferred embodiments, server 6 or the like is specified by theIP address, but server 6 or the like may be specified by domain name(for example, server.pana.net or the like). In this case, the domainname is converted into IP address by using the DNS server, and server 6or the like can be specified.

The protocol used in communication in the preferred embodiments may beeither IPv4 (Internet protocol version 4) or IPv6 (Internet protocolversion 6).

In the preferred embodiments, each process (each function) may berealized by concentrated processing by a single device (system), orrealized by discrete processing by plural devices.

In the preferred embodiments, the communication requesting side isexplained as the bubble packet transmitting side, but the communicationrequest receiving side may be the bubble packet transmitting side.

In the preferred embodiments, the constituent elements may be composedof exclusive hardware, or constituent elements that can be realized bythe software may be realized by the software by program control. Thesoftware for realizing the information processor in the preferredembodiments may include the following program. That is, the program is aprogram for executing the process in the first information processor forcommunicating with the second information processor, by way of the firstcommunication control unit for controlling the communication of thefirst information processor and the second communication control unitfor controlling the communication of the second information processor,and is intended to execute a reference port receiving step of receivingthe reference port information showing the position of the referenceport as the port in the second communication control unit as thereference of target of transmission of bubble packet transmitted forleaving transmission record in the first communication control unit, abubble packet transmitting step of transmitting the bubble packet to thesecond communication control unit by way of the first communicationcontrol unit, a detection packet transmitting step of transmitting theport detection packet for detecting the position of the bubble packettransmitting port as the port of the first communication unit used intransmission of the bubble packet, and a reply packet receiving step ofreceiving the reply packet transmitted to the bubble packet transmittingport from the second information processor by way of the secondcommunication control unit.

In this program, the reference port may be the latest port at the momentof transmission of the reference port detection packet for detecting theposition of the reference port from the second information processor,out of the ports assigned in the second communication control unit.

In this program, at the detection packet transmitting step, the portdetection packet may be transmitted before and after transmission ofbubble packet at the bubble packet transmitting step.

In this program, the bubble packet and port detection packet may betransmitted by using different ports in the first communication controlunit.

In this program, the bubble packet and port detection packet may betransmitted by using newly assigned ports in the first communicationcontrol unit.

In this program, the computer may further execute a re-send instructionreceiving step of receiving a re-send instruction for re-sending thebubble packet and port detection packet, and the detection packettransmitting packet may be characterized by re-sending the portdetection packet when receiving the re-send instruction at the re-sendinstruction receiving step, at the detection packet transmitting step,and re-sending the bubble packet when receiving the re-send instructionat the re-send instruction receiving step, at the bubble packettransmitting step.

In this program, the computer may further execute a port numberdifferential detection packet transmitting system for transmitting aport number differential detection packet for detecting the port numberdifferential in the first communication control unit by way of the firstcommunication control unit.

In this program, the bubble packet transmitting target port as the portof target of transmission of bubble packet in the second communicationcontrol unit may be a port assigned after assignment of specified portsfrom the reference port.

In this program, the computer may further execute a port numberdifferential receiving step of receiving the port number differentialinformation as the information showing the port number differential inthe second communication control unit, and the bubble packettransmitting step may be characterized by transmitting the bubble packetto the bubble packet transmitting target port of which port intervalfrom the reference port is M times (M being an integer of 1 or more) ofthe port number differential indicated by the port number differentialinformation.

In this program, the computer may further execute a re-reply packettransmitting step of transmitting a re-reply packet to the port of thesecond communication control unit used in transmission of the replypacket when the reply packet is received at the reply packet receivingstep.

In the program, the computer may further execute a port differentialinformation receiving step of receiving the port differentialinformation showing the position of the port of the first communicationcontrol unit allowing to pass the port detection packet, a bubble packettransmitting port detecting step of detecting the position of the bubblepacket transmitting port on the basis of the port differentialinformation received at the port differential information receivingstep, and a bubble packet transmitting port transmitting step oftransmitting the bubble packet transmitting port information showing theposition of the bubble packet transmitting port detected at the bubblepacket transmitting port detecting step.

In this program, at the detection packet transmitting step, if theposition of the bubble packet transmitting port cannot be detected bythe bubble packet transmitting port detecting step, the port detectionpacket may be transmitted again, or at the bubble packet transmittingstep, if the position of the bubble packet transmitting port cannot bedetected at the bubble packet transmitting port detecting step, thebubble packet may be transmitted again.

In the program, the computer may further execute a port numberdifferential detection packet transmitting step of transmitting a portnumber differential detection packet for detecting the port numberdifferential in the first communication control unit by way of the firstcommunication control unit, as port differential information receivingstep of receiving the port differential information showing the positionof the port of the first communication control unit allowing to pass theport number differential detection packet, and a port numberdifferential detecting step of detecting the port number differential inthe first communication control unit on the basis of the portdifferential information received in the port differential informationreceiver, and the bubble packet transmitting port detecting step may becharacterized by detecting the position of the bubble packettransmitting port by using the port number differential in the firstcommunication control unit detected at the port number differentialdetecting step.

The software for realizing the information processor in the preferredembodiments is the following program. That is, the program is a programfor executing the process in the first information processor forcommunicating with the second information processor, by way of the firstcommunication control unit for controlling the communication of thefirst information processor and the second communication control unitfor controlling the communication of the second information processor,in which the first communication control unit receives the bubble packetfor leaving the transmission record in the second communication controlunit, from the second information processor by way of the secondcommunication control unit, and executes a reference port detectionpacket transmitting step of transmitting a reference port detectionpacket for detecting the position of the reference port as the port inthe first communication control unit as the reference of target oftransmission of bubble packet, a bubble packet transmitting portreceiving step of receiving the bubble packet transmitting portinformation showing the position of the bubble packet transmitting portas the port of the second communication control unit used intransmission of the bubble packet from the second information processor,and a reply packet transmitting step of transmitting a reply packet tothe bubble packet transmitting port indicated by the bubble packettransmitting port information.

In this program, at the reply packet transmitting step, the reply packetmay be transmitted by using N (N being an integer of 2 or more)different ports of the first communication control unit.

In this program, N ports may be assigned newly in the firstcommunication control unit at the time of transmission of the replypacket.

In the program, the number N may be grater than the number of ports thatcan be assigned from the reference port to the port used fortransmitting the bubble packet in the first communication control unit.

In this program, the computer may further execute a re-reply packetreceiving step of receiving the re-reply packet transmitted from thesecond information processor to the port of the first communicationcontrol unit used in transmission of the reply packet.

In the program, the computer may also execute a port number differentialdetection packet transmitting step of transmitting the port numberdifferential detection packet for detecting the port number differentialin the first communication control unit by way of the firstcommunication control unit.

In the program, the computer may also execute a port differentialinformation receiving step of receiving the port differentialinformation showing the position of the port of the first communicationcontrol unit allowing to pass the port number differential detectionpacket, a port number differential detecting step of detecting the portnumber differential in the first communication control unit on the basisof the port differential information received at the port differentialinformation receiving step, and a port number differential transmittingstep of transmitting the port differential information as theinformation showing the port number differential in the firstcommunication control unit detected at the port number differentialdetecting step.

The software for realizing the server in the preferred embodiments isthe following program. That is, the program is a program for executingthe process in the server for establishing communication between thefirst information processor and second information processor, by way ofthe first communication control unit for controlling the communicationof the first information processor and the second communication controlunit for controlling the communication of the second informationprocessor, and is intended to execute a reference port detecting step ofreceiving a reference port detection packet transmitted from the secondinformation processor by way of the second communication control unit inorder to detect the position of the reference port as the port in thesecond communication control unit as the reference of target oftransmission of bubble packet transmitted by the first informationprocessor for leaving the transmission record in the first communicationcontrol unit, and detecting the position of the reference port on thebasis of the reference port detection packet, a reference porttransmitting step of transmitting the reference port information showingthe position of the reference port detected at the reference portdetecting step to the first information processor, a bubble packettransmitting step of receiving a port detection packet transmitted fromthe first information processor in order to detect the position of thebubble packet transmitting port as the port in the first communicationcontrol unit used in transmission of the bubble packet from the firstinformation processor to the second communication control unit, anddetecting the position of the bubble packet transmitting port on thebasis of the port detection packet, and a bubble packet transmittingport transmitting step of transmitting the bubble packet transmittingport information showing the position of the bubble packet transmittingport detected at the bubble packet transmitting port detecting step tothe second information processor.

In this program, the computer may further execute a re-send instructiontransmitting step of transmitting a re-send instruction for re-sendingthe bubble packet and port detection packet to the first informationprocessor if the position of the bubble packet transmitting port cannotbe detected at the bubble packet transmitting port detecting step.

In this program, at the bubble packet transmitting port detecting step,receiving the port detection packets transmitted before and aftertransmission of the bubble packet, the two ports in the firstcommunication control unit used in transmission of the port detectionpackets and the bubble port transmitting port are judged if consecutiveor not, and if consecutive, the position of the port enclosed by the twoports may be detected as the position of the bubble packet transmittingport.

In this program, at the bubble packet transmitting port detecting step,the ports may be judged to be consecutive if the interval of two portsin the first communication control unit used in transmission of the portdetection packets is 2 times of the port number differential in thefirst communication control unit.

In this program, the computer may further execute a first port numberdifferential detecting step of receiving a first port numberdifferential detection packet transmitted from the first informationprocessor by way of the first communication control unit, and detectingthe port number differential in the first communication control unit onthe basis of the first port number differential detection packet, andthe bubble packet transmitting port detecting step may be characterizedby judging by using the port number differential detected at the firstport number differential detecting step.

In this program, the computer may further execute a second port numberdifferential detecting step of receiving a second port numberdifferential detection packet transmitted from the second informationprocessor by way of the second communication control unit, and detectingthe port number differential in the second communication control unit onthe basis of the second port number differential detection packet, and aport number differential transmitting step of transmitting the portdifferential information as the information showing the port numberdifferential detected at the second port number differential detectingstep to the first information processor.

The software for realizing the information processor in the preferredembodiments is the following program. That is, the program is a programfor causing the computer to execute the process in the server forestablishing communication between the first information processor andsecond information processor, by way of the first communication controlunit for controlling the communication of the first informationprocessor and the second communication control unit for controlling thecommunication of the second information processor, and is intended toexecute a reference port detecting step of receiving a reference portdetection packet transmitted from the second information processor byway of the second communication control unit in order to detect theposition of the reference port as the port in the second communicationcontrol unit as the reference of target of transmission of bubble packettransmitted by the first information processor for leaving thetransmission record in the first communication control unit, anddetecting the position of the reference port on the basis of thereference port detection packet, a reference port transmitting step oftransmitting the reference port information showing the position of thereference port detected at the reference port detecting step to thefirst information processor, a detection port detecting step ofreceiving a port detection packet transmitted from the first informationprocessor in order to detect the position of the bubble packettransmitting port as the port in the first communication control unitused in transmission of the bubble packet from the first informationprocessor to the second communication control unit, and detecting theposition of the port of the first communication control unit allowing topass the port detection packet on the basis of the port detectionpacket, and a port differential information transmitting step oftransmitting the port differential information showing the position ofthe port detected at the detection port detecting step to the firstinformation processor.

The software for realizing the server in the preferred embodiments isthe following program. That is, the program is a program for causing thecomputer to execute the process in an information processor forcomposing a communication system comprising an information processor, acommunication control unit for controlling the communication of theinformation processor, and a server, and is intended to execute a bubblepacket transmitting step of transmitting a bubble packet for leaving thetransmission record in the communication control unit by way of thecommunication control unit, and a detection packet transmitting step oftransmitting port detection packets used for detecting the position ofthe bubble packet transmitting port as the port in the communicationcontrol used in transmission of the bubble packet, to the server, beforeand after transmission of the bubble packet at the bubble packettransmitting step.

The software for realizing the server in the preferred embodiments isthe following program. That is, the program is a program for causing thecomputer to execute the process in a server for composing acommunication system comprising an information processor, acommunication control unit for controlling the communication of theinformation processor, and a server, and is intended to execute a stepof receiving port detection packets transmitted from the informationprocessor before and after transmission of bubble packet in order todetect the position of the bubble packet transmitting port as the portin the communication control used in transmission of the bubble packettransmitted by the information processor for leaving the transmissionrecord in the communication control unit, and a step of detecting theposition of the bubble packet transmitting port on the basis of the portdetection packet.

The software for realizing the server in the preferred embodiments isthe following program. That is, the program is a program for causing thecomputer to execute the process in a server for composing acommunication system comprising an information processor, acommunication control unit for controlling the communication of theinformation processor, and a server, and is intended to execute a stepof receiving port detection packets transmitted from the informationprocessor before and after transmission of bubble packet in order todetect the position of the bubble packet transmitting port as the portin the communication control used in transmission of the bubble packettransmitted by the information processor for leaving the transmissionrecord in the communication control unit, a step of detecting theposition of the port of the communication control unit allowing to passthe port detection packet, and a step of transmitting port differentialinformation showing the position of the port of the communicationcontrol unit allowing to pass the e port detection packet to theinformation processor.

In these programs, in the transmitting step of transmitting informationor in the receiving step of receiving information, the process executedin the hardware, such as the process conducted in the modem or interfacecard at the transmitting step (the process executed only in thehardware) is not included.

The program may be distributed by downloading from the server or thelike, or may be distributed by recording from a specified recordingmedium (for example, optical disk such as CD-ROM or magnetic disk,semiconductor memory, etc.).

The computer for executing the program may be either one or plural. Thatis, either concentrated process or discrete process may be applied.

INDUSTRIAL APPLICABILITY

As described herein, in the communication system and others by theinvention, communication can be established between plural informationprocessors by way of a communication control unit, and it is very usefulfor communication between information processors.

1. A communication system comprising an information processor, acommunication control unit for controlling the communication of theinformation processor, and a server, wherein the information processorincludes: a bubble packet transmitter for transmitting via thecommunication control unit a bubble packet for leaving transmissionrecord in the communication control unit; and a detection packettransmitter for transmitting to the server a port detection packet usedfor detecting the position of a bubble packet transmitting port that isa port of the communication control unit, which is used in transmissionof the bubble packet.
 2. The communication system of claim 1, whereinthe detection packet transmitter transmits the port detection packetbefore and/or after the bubble packet is transmitted by the bubblepacket transmitter.
 3. The communication system of claim 1, wherein theserver includes a bubble packet transmitting port detector whichreceives the port detection packet transmitted from the informationprocessor and detects the position of the bubble packet transmittingport in accordance with the port detection packet.
 4. The communicationsystem of claim 3, wherein the bubble packet transmitting port detectordetects the position of the bubble packet transmitting port by using theport number differential of the communication control unit.
 5. Thecommunication system of claim 3, wherein the information processorfurther includes a port number differential detection packet transmitterfor transmitting via the communication control unit a port numberdifferential detection packet for detecting port number differential inthe communication control unit; the server further includes a portnumber differential detector which receives the port number differentialdetection packet and detects the port number differential of thecommunication control unit in accordance with the port numberdifferential detection packet, and the bubble packet transmitting portdetector detects the position of the bubble packet transmitting port byusing the port number differential detected by the port numberdifferential detector.
 6. The communication system of claim 3, whereinthe server further includes a bubble packet transmitting porttransmitter for transmitting bubble packet transmitting port informationshowing the position of the bubble packet transmitting port.
 7. Thecommunication system of claim 1, wherein the information processorfurther includes: a detecting port information receiver for receivingdetecting port information showing the port position of thecommunication control unit through which the port detection packet haspassed; and a bubble packet transmitting port detector for detecting theposition of the bubble packet transmitting port in accordance withdetecting port information received by the detecting port informationreceiver, and the server includes: a detecting port detector whichreceives the port detection packet and detects the port position of thecommunication control unit through which the port detection packet haspassed, and a detecting port information transmitter for transmittingdetecting port information showing the position of the port detected bythe detecting port detector to the information processor.
 8. Thecommunication system of claim 7, wherein the bubble packet transmittingport detector detects the position of the bubble packet transmittingport by using the port number differential of the communication controlunit.
 9. The communication system of claim 7, wherein the informationprocessor further includes: a port number differential detection packettransmitter for transmitting via the communication control unit a portnumber differential detection packet for detecting the port numberdifferential in the communication control unit; a port numberdifferential detecting port information receiver for receiving portnumber differential detecting port information showing the port positionof the communication control unit through which the port numberdifferential detection packet has passed; a port number differentialdetector for detecting the port number differential in the communicationcontrol unit in accordance with the port number differential detectingport information received by the port number differential detecting portinformation receiver, and the bubble packet transmitting port detectordetects the position of the bubble packet transmitting port by using theport number differential of the communication control unit which isdetected by the port number differential detector, and the serverfurther includes: a port number differential detecting port detectorwhich receives the port number differential detection packet and detectsthe port position of the communication control unit through which theport number differential detection packet has passed, and a port numberdifferential detecting port information transmitter for transmittingport number differential detecting port information showing the positionof the port detected by the port number differential detecting portdetector to the information processor.
 10. The communication system ofclaim 7, wherein the information processor further includes: a bubblepacket transmitting port transmitter for transmitting bubble packettransmitting port information showing the position of the bubble packettransmitting port.
 11. An information processor for establishingcommunication with other information processor via a communicationcontrol unit by using a server, comprising, a bubble packet transmitterfor transmitting via the communication control unit a bubble packet forleaving transmission record in the communication control unit; and adetection packet transmitter for transmitting to the server a portdetection packet used for detecting the position of a bubble packettransmitting port that is a port of the communication control unit,which is used in transmission of the bubble packet.
 12. The informationprocessor of claim 11, wherein the detection packet transmittertransmits the port detection packet before and/or after the bubblepacket is transmitted by the bubble packet transmitter.
 13. Theinformation processor of claim 11, further comprising: a detecting portinformation receiver for receiving detecting port information showingthe port position of the communication control unit through which theport detection packet has passed; and a bubble packet transmitting portdetector for detecting the position of the bubble packet transmittingport in accordance with detecting port information received by thedetecting port information receiver.
 14. The information processor ofclaim 13, wherein the bubble packet transmitting port detector detectsthe position of the bubble packet transmitting port by using the portnumber differential of the communication control unit.
 15. Theinformation processor of claim 13, wherein the information processorfurther includes: a port number differential detection packettransmitter for transmitting via the communication control unit a portnumber differential detection packet for detecting the port numberdifferential in the communication control unit; a port numberdifferential detecting port information receiver for receiving portnumber differential detecting port information showing the port positionof the communication control unit through which the port numberdifferential detection packet has passed; a port number differentialdetector for detecting the port number differential in the communicationcontrol unit in accordance with port number differential detecting portinformation received by the port number differential detecting portinformation receiver, and the bubble packet transmitting port detectordetects the position of the bubble packet transmitting port by using theport number differential of the communication control unit which isdetected by the port number differential detector.
 16. A server forestablishing communication between an information processor and otherinformation processor for providing communication via a communicationcontrol unit which controls the communication of the informationprocessor, comprising: a detecting port detector which receives a portdetection packet transmitted from the information processor and detectsthe position of the communication control unit through which the portdetection packet has passed in accordance with the port detectionpacket.
 17. The server of claim 16, further comprising: a bubble packettransmitting port detector for detecting the position of the bubblepacket transmitting port in accordance with the port detection packet.18. The server of claim 17, wherein the bubble packet transmitting portdetector detects the position of the bubble packet transmitting port byusing the port number differential of the communication control unit.19. The server of claim 17, further comprising: a port numberdifferential detector which receives a port number differentialdetection packet for detecting the port number differential of thecommunication control unit and detects the port number differential ofthe communication control unit in accordance with the port numberdifferential detection packet, wherein the bubble packet transmittingport detector detects the position of the bubble packet transmittingport by using the port number differential detected by the port numberdifferential detector.
 20. A communication method used for aninformation processor in a communication system including theinformation processor, a communication control unit for controlling thecommunication of the information processor, and a server, comprising: abubble packet transmitting step for transmitting via the communicationcontrol unit a bubble packet for leaving transmission record in thecommunication control unit; and a detection packet transmitting step fortransmitting to the server a port detection packet used for detectingthe position of the bubble packet transmitting port that is a port ofthe communication control unit, which is used in transmission of thebubble packet.
 21. The communication method of claim 20, wherein theport detection packet in the detection packet transmitting step istransmitted before and/or after the bubble packet is transmitted in thebubble packet transmitting step.
 22. The communication method of claim20, further comprising: a detecting port information receiving step forreceiving detecting port information showing the port position of thecommunication control unit through which the port detection packet haspassed; and a bubble packet transmitting port detecting step fordetecting the position of the bubble packet transmitting port inaccordance with detecting port information received in the detectingport information receiving step.
 23. A communication method used for aserver in a communication system including an information processor, acommunication control unit for controlling the information processor,and the server, comprising: a step of receiving a port detection packettransmitted from the information processor in order to detect theposition of the bubble packet transmitting port that is a port in thecommunication control unit used in transmission of a bubble packettransmitted by the information processor for leaving transmission recordin the communication control unit.
 24. The communication method of claim23, further comprising: a step of detecting the position of the bubblepacket transmitting port in accordance with the port detection packet.25. The communication method of claim 23, further comprising: adetecting port detecting step for detecting the port position of thecommunication control unit through which the port detection packet haspassed in accordance with the port detection packet; and a detectingport information transmitting step for transmitting detecting portinformation showing the position of the port detected in the detectingport detecting step.